We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89f09e commit 7786d05Copy full SHA for 7786d05
src/codegen/lower_load.jl
@@ -125,7 +125,7 @@ function child_cost_untill_vectorized(op::Operation)
125
for child ∈ children(op)
126
if (!isvectorized(child) & iscompute(child))
127
# FIXME: can double count
128
- c += COST[instruction(child).instr].scalar_reciprocal_throughput + child_cost_untill_vectorized(child)
+ c += instruction_cost(instruction(child)).scalar_reciprocal_throughput + child_cost_untill_vectorized(child)
129
end
130
131
c
0 commit comments