mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17898 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
73559b1f4c
commit
154113b78c
14
test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
Normal file
14
test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -disable-output
|
||||
|
||||
implementation
|
||||
|
||||
declare int %foo()
|
||||
|
||||
void %caller() {
|
||||
br bool true, label %T, label %F
|
||||
F:
|
||||
%X = invoke int %foo() to label %T unwind label %T
|
||||
|
||||
T:
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user