diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-13 12:10:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-13 12:10:16 +0000 |
commit | 84b7207df89ba65a20f392891569c493f6918751 (patch) | |
tree | 19b03b8e8bcd3941c87e671c8438a4ae392813a4 /test/ExecutionEngine/test-loop.ll | |
parent | 87e369d2217d5932f5c2deff5b3db63f0085dffc (diff) | |
download | llvm-84b7207df89ba65a20f392891569c493f6918751.tar.gz llvm-84b7207df89ba65a20f392891569c493f6918751.tar.bz2 llvm-84b7207df89ba65a20f392891569c493f6918751.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-loop.ll')
-rw-r--r-- | test/ExecutionEngine/test-loop.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-loop.ll b/test/ExecutionEngine/test-loop.ll new file mode 100644 index 0000000000..b84da830e0 --- /dev/null +++ b/test/ExecutionEngine/test-loop.ll @@ -0,0 +1,12 @@ + + +int %main() { + br label %Loop +Loop: + %I = phi int [0, %0], [%i2, %Loop] + %i2 = add int %I, 1 + %C = seteq int %i2, 10 + br bool %C, label %Out, label %Loop +Out: + ret int 0 +} |