[llvm] r292762 - Attempt to fix test in release builds.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 13:01:20 PST 2017
Author: d0k
Date: Sun Jan 22 15:01:19 2017
New Revision: 292762
URL: http://llvm.org/viewvc/llvm-project?rev=292762&view=rev
Log:
Attempt to fix test in release builds.
Modified:
llvm/trunk/test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll
Modified: llvm/trunk/test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll?rev=292762&r1=292761&r2=292762&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll Sun Jan 22 15:01:19 2017
@@ -36,13 +36,13 @@ ib:
%r4 = mul i64 %r3, %r0
%r5 = add i64 %r2, %r4
%r6 = icmp ult i64 %r5, undef
-; CHECK: %2 = mul i64 %lsr.iv, %r3
-; CHECK: %3 = add i64 %2, -1
-; CHECK: %4 = add i64 %0, %3
+; CHECK: [[MUL1:%[0-9]+]] = mul i64 %lsr.iv, %r3
+; CHECK: [[ADD1:%[0-9]+]] = add i64 [[MUL1]], -1
+; CHECK: add i64 %{{.}}, [[ADD1]]
; CHECK: %r6
%r7 = getelementptr i64, i64* undef, i64 %r5
store i64 1, i64* %r7, align 8
-; CHECK: %5 = mul i64 %lsr.iv, %r3
-; CHECK: %6 = add i64 %5, -1
+; CHECK: [[MUL2:%[0-9]+]] = mul i64 %lsr.iv, %r3
+; CHECK: [[ADD2:%[0-9]+]] = add i64 [[MUL2]], -1
br label %L
}
More information about the llvm-commits
mailing list