[llvm] r212983 - Fix a test broken in r212981
David Majnemer
david.majnemer at gmail.com
Mon Jul 14 13:46:04 PDT 2014
Author: majnemer
Date: Mon Jul 14 15:46:04 2014
New Revision: 212983
URL: http://llvm.org/viewvc/llvm-project?rev=212983&view=rev
Log:
Fix a test broken in r212981
@icmp_sdiv_neg1 should have referred to %a instead of %call, it was
renamed at the last second.
Modified:
llvm/trunk/test/Transforms/InstSimplify/compare.ll
Modified: llvm/trunk/test/Transforms/InstSimplify/compare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstSimplify/compare.ll?rev=212983&r1=212982&r2=212983&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstSimplify/compare.ll (original)
+++ llvm/trunk/test/Transforms/InstSimplify/compare.ll Mon Jul 14 15:46:04 2014
@@ -926,7 +926,7 @@ define i1 @icmp_sdiv_pr20288(i64 %a) {
}
define i1 @icmp_sdiv_neg1(i64 %a) {
- %div = sdiv i64 %call, -1
+ %div = sdiv i64 %a, -1
%cmp = icmp ne i64 %div, 1073741824
ret i1 %cmp
More information about the llvm-commits
mailing list