forked from OSchip/llvm-project
Use loop deletion instead of ADCE in these tests.
llvm-svn: 51180
This commit is contained in:
parent
ad5f211b48
commit
ecc12fe81d
|
@ -3,7 +3,7 @@
|
|||
; happens because preheader insertion doesn't insert a preheader for this
|
||||
; case... bad.
|
||||
|
||||
; RUN: llvm-as < %s | opt -licm -adce -simplifycfg | llvm-dis | \
|
||||
; RUN: llvm-as < %s | opt -licm -loop-deletion -simplifycfg | llvm-dis | \
|
||||
; RUN: not grep {br }
|
||||
|
||||
define i32 @main(i32 %argc) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | \
|
||||
; RUN: llvm-as < %s | opt -sccp -loop-deletion -simplifycfg | llvm-dis | \
|
||||
; RUN: not grep br
|
||||
|
||||
; No matter how hard you try, sqrt(1.0) is always 1.0. This allows the
|
||||
|
|
Loading…
Reference in New Issue