-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "LoopVectorization" | ||
uuid = "bdcacae8-1622-11e9-2a5c-532679323890" | ||
authors = ["Chris Elrod <[email protected]>"] | ||
version = "0.12.112" | ||
version = "0.12.113" | ||
|
||
[deps] | ||
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,7 +218,6 @@ function OperationStruct!( | |
ls::LoopSet, | ||
op::Operation, | ||
) | ||
instr = instruction(op) | ||
ld = loopdeps_uint(ls, op) | ||
rd = reduceddeps_uint(ls, op) | ||
cd = childdeps_uint(ls, op) | ||
|
@@ -241,7 +240,7 @@ end | |
@inline zerorangestart(r::ArrayInterface.OptionallyStaticUnitRange{StaticInt{1}}) = | ||
CloseOpen(maybestaticlast(r)) | ||
|
||
function loop_boundary!(q::Expr, ls::LoopSet, loop::Loop, shouldindbyind::Bool) | ||
function loop_boundary!(q::Expr, loop::Loop, shouldindbyind::Bool) | ||
if isstaticloop(loop) || loop.rangesym === Symbol("") | ||
call = Expr(:call, :(:)) | ||
f = gethint(first(loop)) | ||
|
@@ -265,7 +264,7 @@ end | |
function loop_boundaries(ls::LoopSet, shouldindbyind::Vector{Bool}) | ||
lbd = Expr(:tuple) | ||
for (ibi, loop) ∈ zip(shouldindbyind, ls.loops) | ||
loop_boundary!(lbd, ls, loop, ibi) | ||
loop_boundary!(lbd, loop, ibi) | ||
end | ||
lbd | ||
end | ||
|
@@ -770,8 +769,11 @@ function generate_call_types( | |
ops = operations(ls) | ||
for op ∈ ops | ||
instr::Instruction = instruction(op) | ||
if ((isconstant(op) && (instr == LOOPCONSTANT)) && (!roots[identifier(op)])) | ||
instr = op.instruction = DROPPEDCONSTANT | ||
if (!roots[identifier(op)]) | ||
if (isconstant(op) && (instr == LOOPCONSTANT)) || !isconstant(op) | ||
instr = op.instruction = DROPPEDCONSTANT | ||
op.node_type = constant | ||
end | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
chriselrod
Author
Member
|
||
end | ||
push!(operation_descriptions.args, QuoteNode(instr.mod)) | ||
push!(operation_descriptions.args, QuoteNode(instr.instr)) | ||
|
2 comments
on commit 9f35f74
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/61069
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.12.113 -m "<description of version>" 9f35f742d0652a1849c4a58e5a3c2c332bcd0641
git push origin v0.12.113
@brenhinkeller this is the part that made a difference.