From b8f435ca7035b4ac1113457ef47354d69431306d Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 14 Jul 2014 20:46:04 +0000 Subject: [PATCH] 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 --- llvm/test/Transforms/InstSimplify/compare.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/InstSimplify/compare.ll b/llvm/test/Transforms/InstSimplify/compare.ll index 1a9f82e..42084c9 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 -- 2.7.4