diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-06 07:00:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-06 07:00:11 +0000 |
commit | f77afbb2756ab4eb1c25d2e799e87158df757acf (patch) | |
tree | 62f59ccc580f337abcd0a7efadd75e5961856a29 | |
parent | 7f0566c1233ba4378c2c5531ddbc9eb8ad1868da (diff) |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14636 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/sub.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index 801991212a..1a427eaae7 100644 --- a/test/Transforms/InstCombine/sub.ll +++ b/test/Transforms/InstCombine/sub.ll @@ -94,3 +94,8 @@ int %test14(uint %A) { ret int %D } +int %test15(int %A, int %B) { + %C = sub int 0, %A + %D = rem int %B, %C ;; X % -Y === X % Y + ret int %D +} |