aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+}