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 | |
parent | 333b2fa56063db4026809f9afaa403bf83e7a5b4 (diff) | |
download | external_llvm-0907c16cbf72a9f138059bf0d6330a1c2284dfc4.zip external_llvm-0907c16cbf72a9f138059bf0d6330a1c2284dfc4.tar.gz external_llvm-0907c16cbf72a9f138059bf0d6330a1c2284dfc4.tar.bz2 |
Test more phi stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005 91177308-0d34-0410-b5e6-96231b3b80d8
-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 11aacc1..785a41b 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: |