Skip to content

Commit ad4e9dc

Browse files
committed
Fix valid thread loop
1 parent b9505c7 commit ad4e9dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.12.32"
4+
version = "0.12.33"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/codegen/lower_threads.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ function valid_thread_loops(ls::LoopSet)
665665
end
666666
for (i,o) enumerate(order)
667667
loop = getloop(ls, o)
668-
if isstaticloop(loop) & length(loop) 1
668+
if isstaticloop(loop) & (length(loop) 1)
669669
valid_thread_loop[i] = false
670670
end
671671
end

0 commit comments

Comments
 (0)