llvm.org GIT mirror llvm / 9727555 test / Transforms / LowerInvoke / 2004-02-29-PHICrash.llx
9727555

Tree @9727555 (Download .tar.gz)

2004-02-29-PHICrash.llx @9727555raw · history · blame

; 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()