diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ExecutionEngine/test-phi.ll | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll index 14b1b60..9e21438 100644 --- a/test/ExecutionEngine/test-phi.ll +++ b/test/ExecutionEngine/test-phi.ll @@ -11,11 +11,18 @@ Dead: br label %T } +int %test(bool %C) { + br bool %C, label %T, label %T +T: + %X = phi int [123, %0], [123, %0] + ret int %X +} + int %main() { br label %Test Test: - %X = phi int [7, %0], [%Y, %Dead] - ret int 0 + %X = phi int [0, %0], [%Y, %Dead] + ret int %X Dead: %Y = shr int 12, ubyte 4 br label %Test |