mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Move replaceCongruentIVs into SCEVExapander and bias toward "expanded"
IVs. Indvars previously chose randomly between congruent IVs. Now it will bias the decision toward IVs that SCEVExpander likes to create. This was not done to fix any problem, it's just a welcome side effect of factoring code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -281,6 +281,7 @@ return:
|
||||
; CHECK-NOT: phi
|
||||
; CHECK: add i32
|
||||
; CHECK: add i32
|
||||
; CHECK: add i32
|
||||
; CHECK-NOT: add
|
||||
; CHECK: return:
|
||||
;
|
||||
|
Reference in New Issue
Block a user