Skip to content

Commit c3dbca5

Browse files
committed
vifelse for masked calls
1 parent ac31711 commit c3dbca5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-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.144"
4+
version = "0.12.145"
55

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

src/codegen/lower_compute.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ function ifelselastexpr(hasf::Bool, M::Int, vargtypes, K::Int, S::Int, maskearly
166166
end
167167
for m start:M
168168
call = if hasf
169-
(maskearly | (m == M)) ? Expr(:call, :ifelse, :f, :m) : Expr(:call, :f)
169+
(maskearly | (m == M)) ? Expr(:call, VectorizationBase.vifelse, :f, :m) :
170+
Expr(:call, :f)
170171
else# m == M because !hasf
171172
Expr(:call, :ifelse, :m)
172173
end

0 commit comments

Comments
 (0)