summaryrefslogtreecommitdiff
path: root/test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx
blob: 5454eae5f9fa30b9bd435f9a48002d3c9eaa723b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output

void %_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
entry:
	br bool false, label %then, label %UnifiedReturnBlock

then:		; preds = %entry
	invoke void %_Znwj( )
			to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock

UnifiedReturnBlock:		; preds = %entry, %then, %then
	%UnifiedRetVal = phi int* [ null, %entry ], [ null, %then ], [ null, %then ]
	ret void
}

declare void %_Znwj()