diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-13 10:12:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-13 10:12:50 +0000 |
commit | 0907c16cbf72a9f138059bf0d6330a1c2284dfc4 (patch) | |
tree | e6d7a73fb19b0b78b7c088390362a1b8927ad0f2 /test/ExecutionEngine/test-phi.ll | |
parent | 333b2fa56063db4026809f9afaa403bf83e7a5b4 (diff) |
Test more phi stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-phi.ll')
-rw-r--r-- | test/ExecutionEngine/test-phi.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll index 11aacc10fb..785a41b4f3 100644 --- a/test/ExecutionEngine/test-phi.ll +++ b/test/ExecutionEngine/test-phi.ll @@ -1,4 +1,16 @@ ; test phi node + +%Y = global int 6 + +void %blah(int *%X) { + br label %T +T: + phi int* [%X, %0], [%Y, %Dead] + ret void +Dead: + br label %T +} + void %main() { br label %Test Test: |