You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
20
external/llvm/test/CodeGen/AMDGPU/i1-copy-implicit-def.ll
vendored
Normal file
20
external/llvm/test/CodeGen/AMDGPU/i1-copy-implicit-def.ll
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
|
||||
; SILowerI1Copies was not handling IMPLICIT_DEF
|
||||
; SI-LABEL: {{^}}br_implicit_def:
|
||||
; SI: %bb.0:
|
||||
; SI-NEXT: s_cbranch_scc1
|
||||
define amdgpu_kernel void @br_implicit_def(i32 addrspace(1)* %out, i32 %arg) #0 {
|
||||
bb:
|
||||
br i1 undef, label %bb1, label %bb2
|
||||
|
||||
bb1:
|
||||
store volatile i32 123, i32 addrspace(1)* %out
|
||||
ret void
|
||||
|
||||
bb2:
|
||||
ret void
|
||||
}
|
||||
|
||||
attributes #0 = { nounwind }
|
Reference in New Issue
Block a user