diff options
Diffstat (limited to 'test/ExecutionEngine')
-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: |