[llvm] r327147 - [AMDGPU] fix test to be independent of FP undef
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 08:33:34 PST 2018
Author: spatel
Date: Fri Mar 9 08:33:34 2018
New Revision: 327147
URL: http://llvm.org/viewvc/llvm-project?rev=327147&view=rev
Log:
[AMDGPU] fix test to be independent of FP undef
Modified:
llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.ll
Modified: llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.ll?rev=327147&r1=327146&r2=327147&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.ll (original)
+++ llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.ll Fri Mar 9 08:33:34 2018
@@ -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)
More information about the llvm-commits
mailing list