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
19
external/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.kilp.ll
vendored
Normal file
19
external/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.kilp.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; RUN: llc -march=amdgcn -mcpu=verde -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
|
||||
; SI-LABEL: {{^}}kilp_gs_const:
|
||||
; SI: s_mov_b64 exec, 0
|
||||
define amdgpu_gs void @kilp_gs_const() {
|
||||
main_body:
|
||||
%0 = icmp ule i32 0, 3
|
||||
%1 = select i1 %0, float 1.000000e+00, float -1.000000e+00
|
||||
call void @llvm.AMDGPU.kilp(float %1)
|
||||
%2 = icmp ule i32 3, 0
|
||||
%3 = select i1 %2, float 1.000000e+00, float -1.000000e+00
|
||||
call void @llvm.AMDGPU.kilp(float %3)
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @llvm.AMDGPU.kilp(float)
|
||||
|
||||
!0 = !{!"const", null, i32 1}
|
Reference in New Issue
Block a user