mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
R600 -> AMDGPU rename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
25
test/CodeGen/AMDGPU/si-annotate-cf-assertion.ll
Normal file
25
test/CodeGen/AMDGPU/si-annotate-cf-assertion.ll
Normal file
@@ -0,0 +1,25 @@
|
||||
; REQUIRES: asserts
|
||||
; XFAIL: *
|
||||
; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
|
||||
|
||||
|
||||
define void @test(i32 addrspace(1)* %g, i8 addrspace(3)* %l, i32 %x) nounwind {
|
||||
; CHECK-LABEL: {{^}}test:
|
||||
|
||||
entry:
|
||||
switch i32 %x, label %sw.default [
|
||||
i32 0, label %sw.bb
|
||||
i32 60, label %sw.bb
|
||||
]
|
||||
|
||||
sw.bb:
|
||||
unreachable
|
||||
|
||||
sw.default:
|
||||
unreachable
|
||||
|
||||
sw.epilog:
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user