summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-07-14 20:46:04 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-07-14 20:46:04 +0000
commitb8f435ca7035b4ac1113457ef47354d69431306d (patch)
tree92ab53d6085a363a66f615b663af2754336fc26f /llvm/test
parent3809a7a9f639437d30f31e5c6fafa4e2e262affe (diff)
downloadbcm5719-llvm-b8f435ca7035b4ac1113457ef47354d69431306d.tar.gz
bcm5719-llvm-b8f435ca7035b4ac1113457ef47354d69431306d.zip
Fix a test broken in r212981
@icmp_sdiv_neg1 should have referred to %a instead of %call, it was renamed at the last second. llvm-svn: 212983
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/InstSimplify/compare.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstSimplify/compare.ll b/llvm/test/Transforms/InstSimplify/compare.ll
index 1a9f82e9f42..42084c9eeed 100644
--- a/llvm/test/Transforms/InstSimplify/compare.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud