mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Reapply 75252, with a fix to avoid the infinite recursion case. The
check for avoiding re-analyzing a widening cast needed to happen earlier, as getSCEV itself may result in a isLoopGuardedByCond query. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
|
||||
; RUN: grep {= sext} %t | count 4
|
||||
; RUN: grep {phi i64} %t | count 2
|
||||
; XFAIL: *
|
||||
|
||||
; Indvars should be able to promote the hiPart induction variable in the
|
||||
; inner loop to i64.
|
||||
|
Reference in New Issue
Block a user