Move this test from ADCE to loop deletion, where it is more appropriate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2008-05-16 04:34:19 +00:00
parent ce12a2b71a
commit 3dc73d398c

View File

@ -1,7 +1,7 @@
; This is the test case taken from Appel's book that illustrates a hard case
; that SCCP gets right, and when followed by ADCE, is completely eliminated
;
; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | not grep br
; RUN: llvm-as < %s | opt -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br
define i32 @"test function"(i32 %i0, i32 %j0) {
BB1: