llvm.org GIT mirror llvm / 0cad844
Move this test to LoopDeletion, where it now passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50474 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 11 years ago
3 changed file(s) with 16 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
+0
-14
test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll less more
None ; RUN: llvm-as < %s | opt -adce | llvm-dis | grep switch
1 ; PR 1564
2 ; XFAIL: *
3
4 define fastcc void @out() {
5 start:
6 br label %loop
7 unreachable:
8 unreachable
9 loop:
10 switch i32 0, label %unreachable [
11 i32 0, label %loop
12 ]
13 }
0 ; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch
1 ; PR 1564
2
3 define fastcc void @out() {
4 start:
5 br label %loop
6 unreachable:
7 unreachable
8 loop:
9 switch i32 0, label %unreachable [
10 i32 0, label %loop
11 ]
12 }
0 load_lib llvm.exp
1
2 RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]