https://github.com/epiqc/ScaffCC
Raw File
Tip revision: c89857074e85d3e843cda9f33a19a30808b40c06 authored by EPiQC on 08 July 2019, 18:49:30 UTC
Merge pull request #36 from AndrewLitteken/ScaffCC_OSX
Tip revision: c898570
2003-01-04-PhiTest.ll
; RUN: %lli %s > /dev/null

define i32 @main() {
; <label>:0
	br label %Loop
Loop:		; preds = %Loop, %0
	%X = phi i32 [ 0, %0 ], [ 1, %Loop ]		; <i32> [#uses=1]
	br i1 true, label %Out, label %Loop
Out:		; preds = %Loop
	ret i32 %X
}

back to top