summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/debug-value.ll
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-03-08 17:34:25 +0000
committerSanjay Patel <spatel@rotateright.com>2018-03-08 17:34:25 +0000
commit7325d12f580a1bffe8d9f0c34fdbefa911c3eb88 (patch)
treeb552a5947ef4e9d6d9548d0ae5a1778f3daa5f66 /llvm/test/CodeGen/AMDGPU/debug-value.ll
parente834b2287404fecf2dfa341f883d69221787ea18 (diff)
downloadbcm5719-llvm-7325d12f580a1bffe8d9f0c34fdbefa911c3eb88.tar.gz
bcm5719-llvm-7325d12f580a1bffe8d9f0c34fdbefa911c3eb88.zip
[AMDGPU] fix test to survive the most basic undef constant folding
This will likely need to be changed again for anything more than: fmul undef, undef -> undef llvm-svn: 327034
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/debug-value.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/debug-value.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/debug-value.ll b/llvm/test/CodeGen/AMDGPU/debug-value.ll
index 30c134233b5..8fa05f6a2af 100644
--- a/llvm/test/CodeGen/AMDGPU/debug-value.ll
+++ b/llvm/test/CodeGen/AMDGPU/debug-value.ll
@@ -30,7 +30,7 @@ bb:
bb21: ; preds = %bb
%tmp22 = fmul <4 x float> %tmp18, undef
%tmp23 = fadd <4 x float> undef, %tmp22
- %tmp24 = fmul <4 x float> undef, undef
+ %tmp24 = fmul <4 x float> %tmp23, undef
br label %bb28
bb25: ; preds = %bb
OpenPOWER on IntegriCloud