source: icGREP/icgrep-devel/llvm-3.6.1.src/test/CodeGen/R600/si-annotate-cf-assertion.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: 503 bytes
Line 
1; REQUIRES: asserts
2; XFAIL: *
3; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
4; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
5
6
7define void @test(i32 addrspace(1)* %g, i8 addrspace(3)* %l, i32 %x) nounwind {
8; CHECK-LABEL: {{^}}test:
9
10entry:
11  switch i32 %x, label %sw.default [
12    i32 0, label %sw.bb
13    i32 60, label %sw.bb
14  ]
15
16sw.bb:
17  unreachable
18
19sw.default:
20  unreachable
21
22sw.epilog:
23  ret void
24}
25
Note: See TracBrowser for help on using the repository browser.