[llvm] r347164 - [ARM] make test immune to improvements in undef simplification
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 18 08:49:42 PST 2018
Author: spatel
Date: Sun Nov 18 08:49:42 2018
New Revision: 347164
URL: http://llvm.org/viewvc/llvm-project?rev=347164&view=rev
Log:
[ARM] make test immune to improvements in undef simplification
Modified:
llvm/trunk/test/CodeGen/ARM/umulo-32.ll
Modified: llvm/trunk/test/CodeGen/ARM/umulo-32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/umulo-32.ll?rev=347164&r1=347163&r2=347164&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/umulo-32.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/umulo-32.ll Sun Nov 18 08:49:42 2018
@@ -2,12 +2,12 @@
%umul.ty = type { i32, i1 }
-define i32 @test1(i32 %a) nounwind {
+define i32 @test1(i32 %a, i1 %x) nounwind {
; CHECK: test1:
; CHECK: muldi3
%tmp0 = tail call %umul.ty @llvm.umul.with.overflow.i32(i32 %a, i32 37)
%tmp1 = extractvalue %umul.ty %tmp0, 0
- %tmp2 = select i1 undef, i32 -1, i32 %tmp1
+ %tmp2 = select i1 %x, i32 -1, i32 %tmp1
ret i32 %tmp2
}
More information about the llvm-commits
mailing list