mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Testcase for a bug that caused a whole bunch of testcases to die in the nightly
tester last night. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92bc3bc11c
commit
2b39c91a40
16
test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx
Normal file
16
test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx
Normal file
@ -0,0 +1,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()
|
Loading…
x
Reference in New Issue
Block a user