aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-09 02:50:01 +0000
committerChris Lattner <sabre@nondot.org>2004-10-09 02:50:01 +0000
commit23e25632269024636ffd54de6ef1e5dddfd697fa (patch)
treedb6e9d4d542275a3b11a912c8ba7dcbefefe3cf7 /test
parent1c1bb33534493619813a305d726ea8e2da7ecdc3 (diff)
downloadexternal_llvm-23e25632269024636ffd54de6ef1e5dddfd697fa.zip
external_llvm-23e25632269024636ffd54de6ef1e5dddfd697fa.tar.gz
external_llvm-23e25632269024636ffd54de6ef1e5dddfd697fa.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/sub.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll
index 21f61a0..ae0a120 100644
--- a/test/Transforms/InstCombine/sub.ll
+++ b/test/Transforms/InstCombine/sub.ll
@@ -105,3 +105,9 @@ int %test16(int %A) {
%Y = sub int 0, %X
ret int %Y
}
+
+int %test17(int %A) {
+ %B = sub int 0, %A
+ %C = div int %B, 1234
+ ret int %C
+}