source: icGREP/icgrep-devel/llvm-3.6.1.src/test/CodeGen/R600/inline-asm.ll @ 4664

Last change on this file since 4664 was 4664, checked in by cameron, 4 years ago

Upgrade LLVM to 3.6.1

File size: 366 bytes
Line 
1; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s
2; RUN: llc < %s -march=r600 -mcpu=tonga -verify-machineinstrs | FileCheck %s
3
4; CHECK: {{^}}inline_asm:
5; CHECK: s_endpgm
6; CHECK: s_endpgm
7define void @inline_asm(i32 addrspace(1)* %out) {
8entry:
9  store i32 5, i32 addrspace(1)* %out
10  call void asm sideeffect "s_endpgm", ""()
11  ret void
12}
Note: See TracBrowser for help on using the repository browser.