Skip to content

Commit 75b4152

Browse files
committed
Revert using loadintostore to reduce modelled registerpressure.
1 parent 4568796 commit 75b4152

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/determinestrategy.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,10 +566,10 @@ function load_elimination_cost_factor!(
566566
end
567567
end
568568
function loadintostore(ls::LoopSet, op::Operation)
569-
isload(op) || return false
570-
for opp operations(ls)
571-
isstore(opp) && opp.ref == op.ref && return true
572-
end
569+
# isload(op) || return false # leads to bad behavior more than it helps
570+
# for opp ∈ operations(ls)
571+
# isstore(opp) && opp.ref == op.ref && return true
572+
# end
573573
false
574574
end
575575
function add_constant_offset_load_elmination_cost!(

0 commit comments

Comments
 (0)