Skip to content

Commit ffe1d63

Browse files
committed
Accidentally commented out line in previous commit; uncomment.
1 parent 45ba66d commit ffe1d63

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/modeling/costs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ Base.convert(::Type{Instruction}, instr::Symbol) = Instruction(instr)
291291
# instruction(f::Symbol, m) = f ∈ keys(COST) ? Instruction(f) : Instruction(m, f)
292292
# instruction(f::Symbol) = f ∈ keys(COST) ? Instruction(:LoopVectorization, f) : Instruction(Symbol(""), f)
293293
function instruction(f::Symbol)
294-
# f === :ifelse && return Instruction(:LoopVectorization, :ifelse)
295-
# @assert f ∈ keys(COST)
296-
f keys(COST) ? Instruction(:LoopVectorization, f) : Instruction(Symbol(""), f)
294+
# f === :ifelse && return Instruction(:LoopVectorization, :ifelse)
295+
# @assert f ∈ keys(COST)
296+
f keys(COST) ? Instruction(:LoopVectorization, f) : Instruction(Symbol(""), f)
297297
end
298298
# instruction(f::Symbol, m::Symbol) = f ∈ keys(COST) ? Instruction(:LoopVectorization, f) : Instruction(m, f)
299299
Instruction(instr::Symbol) = instruction(instr)

src/parse/memory_ops_common.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function gesp_const_offset!(ls::LoopSet, vptrarray::Symbol, ninds::Int, indices:
100100
else
101101
# want same name for arrays to be given the same name if possible
102102
mltsym = Symbol(sym, "##multiplied##by##", mlt)
103-
# pushpreamble!(ls, Expr(:(=), mltsym, Expr(:call, :(*), mlt, sym)))
103+
pushpreamble!(ls, Expr(:(=), mltsym, Expr(:call, :(*), mlt, sym)))
104104
# pushprepreamble!(ls, Expr(:(=), mltsym, Expr(:call, :(*), mlt, sym)))
105105
subset_vptr!(ls, vptrarray, ninds, mltsym, indices, loopedindex, D)
106106
end

0 commit comments

Comments
 (0)