mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Test more phi stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
333b2fa560
commit
0907c16cbf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user