Skip to content

Commit 200ee32

Browse files
committed
staticexpr(::StaticInt)
1 parent ed466fb commit 200ee32

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 = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <elrodc@gmail.com>"]
4-
version = "0.12.103"
4+
version = "0.12.104"
55

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

src/codegen/lower_memory_common.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function symbolind(ind::Symbol, op::Operation, td::UnrollArgs, ls::LoopSet)
1313
Symbol(pvar, '_', Core.ifelse(u₁op, u₁, 1)), parent
1414
end
1515

16+
staticexpr(x::StaticInt) = x
1617
staticexpr(x::Int) = StaticInt{x}()
1718
staticexpr(x::Union{Symbol,Expr}) = Expr(:call, lv(:StaticInt), x)
1819

0 commit comments

Comments
 (0)