diff options
-rw-r--r-- | test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll new file mode 100644 index 0000000000..b02c54a1a2 --- /dev/null +++ b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll @@ -0,0 +1,15 @@ +target endian = little +target pointersize = 32 + +implementation + +int %main(int, sbyte**) { +entry: + br bool false, label %then, label %endif +then: + br label %endif +endif: + %x.0 = phi uint [ 4, %entry ], [ 27, %then ] + %result.0 = phi int [ 32, %then ], [ 0, %entry ] + ret int 0 +} |