New testcase for problem effecting mst
authorChris Lattner <sabre@nondot.org>
Tue, 9 Jul 2002 19:41:21 +0000 (19:41 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Jul 2002 19:41:21 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2848 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll [new file with mode: 0644]

diff --git a/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll b/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll
new file mode 100644 (file)
index 0000000..7c26dc1
--- /dev/null
@@ -0,0 +1,10 @@
+; The reassociate pass is not preserving dominance properties correctly
+;
+; RUN: as < %s | opt -reassociate -verify
+
+int %compute_dist(int %i, int %j) {
+        %reg119 = sub int %j, %i
+        ret int %reg119
+}
+
+