mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Make phi test a bit more challenging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2df035bb3c
commit
275c637208
@ -1,7 +1,10 @@
|
||||
; test phi node
|
||||
int %main() {
|
||||
void %main() {
|
||||
br label %Test
|
||||
Test:
|
||||
%X = phi int [7, %0]
|
||||
ret int %X
|
||||
%X = phi int [7, %0], [%Y, %Dead]
|
||||
ret void
|
||||
Dead:
|
||||
%Y = shr int 12, ubyte 4
|
||||
br label %Test
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user