mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
indvars test only relevant for -enable-iv-rewrite.
Otherwise this case is now covered by no-iv-rewrite.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139552 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
926785487d
commit
27cea8e34b
@ -1,7 +1,9 @@
|
||||
; The i induction variable looks like a wrap-around, but it really is just
|
||||
; a simple affine IV. Make sure that indvars eliminates it.
|
||||
|
||||
; RUN: opt < %s -indvars -S | grep phi | count 1
|
||||
; RUN: opt < %s -indvars -S -enable-iv-rewrite | FileCheck %s
|
||||
; CHECK: phi
|
||||
; CHECK-NOT: phi
|
||||
|
||||
define void @foo() {
|
||||
entry:
|
||||
|
Loading…
x
Reference in New Issue
Block a user