From: David Majnemer Date: Mon, 14 Jul 2014 20:46:04 +0000 (+0000) Subject: Fix a test broken in r212981 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d615588f65f83bd6bc3064d62466fd5fcff60829;p=oota-llvm.git Fix a test broken in r212981 @icmp_sdiv_neg1 should have referred to %a instead of %call, it was renamed at the last second. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212983 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstSimplify/compare.ll b/test/Transforms/InstSimplify/compare.ll index 1a9f82e9f42..42084c9eeed 100644 --- a/test/Transforms/InstSimplify/compare.ll +++ b/test/Transforms/InstSimplify/compare.ll @@ -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