aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/test-phi.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/test-phi.ll')
-rw-r--r--test/ExecutionEngine/test-phi.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll
new file mode 100644
index 0000000..11aacc1
--- /dev/null
+++ b/test/ExecutionEngine/test-phi.ll
@@ -0,0 +1,10 @@
+; test phi node
+void %main() {
+ br label %Test
+Test:
+ %X = phi int [7, %0], [%Y, %Dead]
+ ret void
+Dead:
+ %Y = shr int 12, ubyte 4
+ br label %Test
+}