diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 19:26:08 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 19:26:08 +0000 |
commit | e2ee753bc440d373717b8fd06c062d50f1005268 (patch) | |
tree | 3017a9ea14712a95da60f48ed8ee60e45e6544eb /test/Transforms/InstSimplify/compare.ll | |
parent | 49eaf76c53e47c838703916a2119b845c59b36a7 (diff) |
Revert broken srem logic from r126991.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstSimplify/compare.ll')
-rw-r--r-- | test/Transforms/InstSimplify/compare.ll | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/Transforms/InstSimplify/compare.ll b/test/Transforms/InstSimplify/compare.ll index 11295b7072..7b92de156d 100644 --- a/test/Transforms/InstSimplify/compare.ll +++ b/test/Transforms/InstSimplify/compare.ll @@ -253,15 +253,6 @@ define i1 @srem1(i32 %X) { ; CHECK: ret i1 false } -define i1 @srem2(i32 %X, i32 %Y) { -; CHECK: @srem2 - %neg = sub i32 %Y, 0 - %A = srem i32 %X, %Y - %B = icmp slt i32 %A, %neg - ret i1 %B -; CHECK: ret i1 true -} - define i1 @udiv1(i32 %X) { ; CHECK: @udiv1 %A = udiv i32 %X, 1000000 |