diff --git a/src/VectorizationBase.jl b/src/VectorizationBase.jl index 15f8dcc..94cfb7e 100644 --- a/src/VectorizationBase.jl +++ b/src/VectorizationBase.jl @@ -494,7 +494,11 @@ demoteint(::Type{Int64}, W::StaticInt) = gt(W, pick_vector_width(Int64)) end meta = Expr(:meta, :inline) if VERSION >= v"1.8.0-beta" - push!(meta.args, Expr(:purity, true, true, true, true, false)) + purity = Expr(:purity, true, true, true, true, false) + if VERSION >= v"1.11" + push!(purity.args, false, false, false, false, false, false) + end + push!(meta.args, purity) end quote $meta diff --git a/src/llvm_types.jl b/src/llvm_types.jl index 6ffedf8..46938c2 100644 --- a/src/llvm_types.jl +++ b/src/llvm_types.jl @@ -279,6 +279,7 @@ end Expr(:purity, true, true, true, true, false) end VERSION >= v"1.9.0-DEV.1019" && push!(purity.args, true) + VERSION >= v"1.11" && push!(purity.args, false, false, false, false, false) Expr(:meta, purity, :inline) else Expr(:meta, :inline)