aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/ConstProp/2007-02-23-sdiv.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ConstProp/2007-02-23-sdiv.ll')
-rw-r--r--test/Transforms/ConstProp/2007-02-23-sdiv.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/ConstProp/2007-02-23-sdiv.ll b/test/Transforms/ConstProp/2007-02-23-sdiv.ll
new file mode 100644
index 0000000..721199f
--- /dev/null
+++ b/test/Transforms/ConstProp/2007-02-23-sdiv.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llvm-dis | grep {global i32 0}
+; PR1215
+
+@G = global i32 sdiv (i32 0, i32 -1)
+