[AMDGPU] fix test to survive the most basic undef constant folding
authorSanjay Patel <spatel@rotateright.com>
Thu, 8 Mar 2018 17:34:25 +0000 (17:34 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 8 Mar 2018 17:34:25 +0000 (17:34 +0000)
This will likely need to be changed again for anything more than:
fmul undef, undef -> undef

llvm-svn: 327034

llvm/test/CodeGen/AMDGPU/debug-value.ll

index 30c1342..8fa05f6 100644 (file)
@@ -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