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:
Chris Lattner 2004-11-16 16:39:20 +00:00
parent 73559b1f4c
commit 154113b78c

View 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
}