diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-16 23:07:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-16 23:07:52 +0000 |
commit | df22f9c41b43ca9ef935cbc5daa35fcbfe6ca32b (patch) | |
tree | d7879aaaa1ca242a40edc4c3f20c70e987bf9dc1 /test/Transforms/TailDup | |
parent | 54cc3c2135bcab1a57d792d9026f72e6937934ca (diff) | |
download | llvm-df22f9c41b43ca9ef935cbc5daa35fcbfe6ca32b.tar.gz llvm-df22f9c41b43ca9ef935cbc5daa35fcbfe6ca32b.tar.bz2 llvm-df22f9c41b43ca9ef935cbc5daa35fcbfe6ca32b.tar.xz |
Another simple testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/TailDup')
-rw-r--r-- | test/Transforms/TailDup/basictest2.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Transforms/TailDup/basictest2.ll b/test/Transforms/TailDup/basictest2.ll new file mode 100644 index 0000000000..06fa071e76 --- /dev/null +++ b/test/Transforms/TailDup/basictest2.ll @@ -0,0 +1,17 @@ +; RUN: llvm-as < %s | opt -tailduplicate -disable-output + +void %ab() { +entry: + br label %loopentry.5 + +loopentry.5: + %poscnt.1 = phi long [ 0, %entry ], [ %tmp.289, %no_exit.5 ] + %tmp.289 = shr long %poscnt.1, ubyte 1 + br bool false, label %no_exit.5, label %loopexit.5 + +no_exit.5: + br label %loopentry.5 + +loopexit.5: + ret void +} |