mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[AMDGPU] fix test to be independent of FP undef
llvm-svn: 327147
This commit is contained in:
parent
61acc6835c
commit
5271e91b8e
@ -275,9 +275,9 @@ exit:
|
||||
|
||||
; CHECK: [[ENDBB]]:
|
||||
; CHECK-NEXT: s_endpgm
|
||||
define amdgpu_ps void @phi_use_def_before_kill() #0 {
|
||||
define amdgpu_ps void @phi_use_def_before_kill(float inreg %x) #0 {
|
||||
bb:
|
||||
%tmp = fadd float undef, 1.000000e+00
|
||||
%tmp = fadd float %x, 1.000000e+00
|
||||
%tmp1 = fcmp olt float 0.000000e+00, %tmp
|
||||
%tmp2 = select i1 %tmp1, float -1.000000e+00, float 0.000000e+00
|
||||
call void @llvm.AMDGPU.kill(float %tmp2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user