diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-29 05:06:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-29 05:06:12 +0000 |
commit | e14a9a71d3dcf68e84fe3e609fc8f9a1e7ba4832 (patch) | |
tree | 303af765f5f1b5d796167a7e8847d6dbe59342ee /test/Transforms/InstCombine/set.ll | |
parent | 1f49e868aad763540be5e2076b5af6dbff5bf1c1 (diff) | |
download | external_llvm-e14a9a71d3dcf68e84fe3e609fc8f9a1e7ba4832.zip external_llvm-e14a9a71d3dcf68e84fe3e609fc8f9a1e7ba4832.tar.gz external_llvm-e14a9a71d3dcf68e84fe3e609fc8f9a1e7ba4832.tar.bz2 |
New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16581 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/set.ll')
-rw-r--r-- | test/Transforms/InstCombine/set.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll index 762ca6c..9ade443 100644 --- a/test/Transforms/InstCombine/set.ll +++ b/test/Transforms/InstCombine/set.ll @@ -87,3 +87,16 @@ bool %test17(ubyte %A) { ret bool %C } +bool %test18(bool %C, int %a) { +entry: + br bool %C, label %endif, label %else + +else: + br label %endif + +endif: + %b.0 = phi int [ 0, %entry ], [ 1, %else ] + %tmp.4 = setlt int %b.0, 123 + ret bool %tmp.4 +} + |