From 5a4d58f66aef373371d6e0f45ecef60589952ac7 Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Thu, 22 Jun 2023 20:48:14 -0400 Subject: [PATCH] `Int` not `Int64` (#502) * `Int` not `Int64` Fixes #501 * Bump version --- Project.toml | 2 +- src/vectorizationbase_compat/contract_pass.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 46a79241..4421811d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LoopVectorization" uuid = "bdcacae8-1622-11e9-2a5c-532679323890" authors = ["Chris Elrod "] -version = "0.12.161" +version = "0.12.162" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/vectorizationbase_compat/contract_pass.jl b/src/vectorizationbase_compat/contract_pass.jl index 711911bd..f9ff6017 100644 --- a/src/vectorizationbase_compat/contract_pass.jl +++ b/src/vectorizationbase_compat/contract_pass.jl @@ -12,7 +12,7 @@ function mulexprcost(@nospecialize(x::ProdArg))::Int end end function mul_fast_expr( - args::SubArray{Any,1,Vector{Any},Tuple{UnitRange{Int64}},true} + args::SubArray{Any,1,Vector{Any},Tuple{UnitRange{Int}},true} )::Expr b = Expr(:call, :mul_fast) for i ∈ 2:length(args) @@ -21,7 +21,7 @@ function mul_fast_expr( b end function mulexpr( - mulexargs::SubArray{Any,1,Vector{Any},Tuple{UnitRange{Int64}},true} + mulexargs::SubArray{Any,1,Vector{Any},Tuple{UnitRange{Int}},true} )::Tuple{ProdArg,ProdArg} a = (mulexargs[1])::ProdArg Nexpr = length(mulexargs)