projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c750f
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 6 Oct 2004 15:07:56 +0000
(15:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 6 Oct 2004 15:07:56 +0000
(15:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16768
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/sub.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/sub.ll
b/test/Transforms/InstCombine/sub.ll
index 1a427eaae73cb444f91335637aa0872b12b6ef8d..21f61a08a714e073735b6a97c2492c3f974b9861 100644
(file)
--- a/
test/Transforms/InstCombine/sub.ll
+++ b/
test/Transforms/InstCombine/sub.ll
@@
-99,3
+99,9
@@
int %test15(int %A, int %B) {
%D = rem int %B, %C ;; X % -Y === X % Y
ret int %D
}
+
+int %test16(int %A) {
+ %X = div int %A, 1123
+ %Y = sub int 0, %X
+ ret int %Y
+}