From: Owen Anderson Date: Wed, 30 Apr 2008 07:17:22 +0000 (+0000) Subject: Move this test to LoopDeletion, where it now passes. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0cad8444ccdee98af3b6a718a57a6d566a5cd6e4;p=oota-llvm.git 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 --- diff --git a/test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll b/test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll deleted file mode 100644 index 60e719bfd53..00000000000 --- a/test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll +++ /dev/null @@ -1,14 +0,0 @@ -; RUN: llvm-as < %s | opt -adce | llvm-dis | grep switch -; PR 1564 -; XFAIL: * - -define fastcc void @out() { - start: - br label %loop - unreachable: - unreachable - loop: - switch i32 0, label %unreachable [ - i32 0, label %loop - ] -} diff --git a/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll new file mode 100644 index 00000000000..ecba2f47b18 --- /dev/null +++ b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch +; PR 1564 + +define fastcc void @out() { + start: + br label %loop + unreachable: + unreachable + loop: + switch i32 0, label %unreachable [ + i32 0, label %loop + ] +} diff --git a/test/Transforms/LoopDeletion/dg.exp b/test/Transforms/LoopDeletion/dg.exp new file mode 100644 index 00000000000..879685ca879 --- /dev/null +++ b/test/Transforms/LoopDeletion/dg.exp @@ -0,0 +1,3 @@ +load_lib llvm.exp + +RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]