mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
New testcase that breaks the pruneeh pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8ecd22037
commit
be8d29909e
15
test/Transforms/PruneEH/2003-11-21-PHIUpdate.llx
Normal file
15
test/Transforms/PruneEH/2003-11-21-PHIUpdate.llx
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llvm-as < %s | opt -prune-eh -disable-output
|
||||
|
||||
implementation
|
||||
|
||||
internal void %callee() { ; does not throw
|
||||
ret void
|
||||
}
|
||||
|
||||
int %caller() {
|
||||
invoke void %callee() to label %E except label %E
|
||||
|
||||
E:
|
||||
%X = phi int [0, %0], [0, %0]
|
||||
ret int %X
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user