projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f349f
)
[AMDGPU] fix test to be independent of FP undef
author
Sanjay Patel
<spatel@rotateright.com>
Fri, 9 Mar 2018 16:33:34 +0000
(16:33 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Fri, 9 Mar 2018 16:33:34 +0000
(16:33 +0000)
llvm-svn: 327147
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
patch
|
blob
|
history
diff --git
a/llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
b/llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
index
54fa93a
..
7643ebe
100644
(file)
--- a/
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
+++ b/
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
@@
-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)