From 63ddace902ecbb11edb6e64bf1c4309963156238 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 24 Feb 2007 01:16:39 +0000 Subject: [PATCH] testcase for pr1215 llvm-svn: 34547 --- test/Transforms/ConstProp/2007-02-23-sdiv.ll | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/Transforms/ConstProp/2007-02-23-sdiv.ll 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 00000000000..e3ec194d018 --- /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) +