diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-09 19:41:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-09 19:41:21 +0000 |
commit | 14329b1b51909e2826cac77e609de0bd2ecb4da4 (patch) | |
tree | 35b66a12b22c7792aa3de87a1110e7397861f947 /test | |
parent | d58290ed3b0bba30954a16db47a932d2e9716083 (diff) | |
download | external_llvm-14329b1b51909e2826cac77e609de0bd2ecb4da4.zip external_llvm-14329b1b51909e2826cac77e609de0bd2ecb4da4.tar.gz external_llvm-14329b1b51909e2826cac77e609de0bd2ecb4da4.tar.bz2 |
New testcase for problem effecting mst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll b/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll new file mode 100644 index 0000000..7c26dc1 --- /dev/null +++ b/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll @@ -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 +} + + |