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:
7f0566c
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Tue, 6 Jul 2004 07:00:11 +0000
(07:00 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 6 Jul 2004 07:00:11 +0000
(07:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14636
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 801991212ae3337533d1976b2c8e127e02176ae4..1a427eaae73cb444f91335637aa0872b12b6ef8d 100644
(file)
--- 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
+}