Skip to content

Commit 2842337

Browse files
committed
Add tomask(::VecUnroll)
1 parent ee8df45 commit 2842337

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "VectorizationBase"
22
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.21.61"
4+
version = "0.21.62"
55

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

src/llvm_intrin/masks.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ end
542542
# )
543543
# end
544544

545+
@inline tomask(m::VecUnroll) = VecUnroll(fmap(tomask, data(m)))
545546
@inline tomask(m::Unsigned) = Mask{sizeof(m)}(m)
546547
@inline tomask(m::Mask) = m
547548
@generated function tomask(v::Vec{W,Bool}) where {W}

0 commit comments

Comments
 (0)