mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5714c97400
commit
84991f332e
20
test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll
Normal file
20
test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll
Normal file
@ -0,0 +1,20 @@
|
||||
; RUN: llvm-as < %s | opt -tailduplicate -disable-output
|
||||
|
||||
int %foo() {
|
||||
entry:
|
||||
br label %return.i
|
||||
|
||||
after_ret.i:
|
||||
br label %return.i
|
||||
|
||||
return.i:
|
||||
%tmp.3 = cast int* null to int
|
||||
br label %return.i1
|
||||
|
||||
after_ret.i1:
|
||||
br label %return.i1
|
||||
|
||||
return.i1:
|
||||
%tmp.8 = sub int %tmp.3, 0
|
||||
ret int 0
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user