From: Sanjay Patel Date: Thu, 8 Mar 2018 17:34:25 +0000 (+0000) Subject: [AMDGPU] fix test to survive the most basic undef constant folding X-Git-Tag: llvmorg-7.0.0-rc1~11091 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7325d12f580a1bffe8d9f0c34fdbefa911c3eb88;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/llvm/test/CodeGen/AMDGPU/debug-value.ll b/llvm/test/CodeGen/AMDGPU/debug-value.ll index 30c1342..8fa05f6 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