From 6883ff00da270bdc48d495cdb6b3b65bd616109b Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Fri, 7 Oct 2022 21:55:28 -0400 Subject: [PATCH] fix #438 because `can_turbo` `literal_pow` --- Project.toml | 2 +- src/condense_loopset.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 38f6a2c6b..a3fce3863 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.132" +version = "0.12.133" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/condense_loopset.jl b/src/condense_loopset.jl index 75f3295d0..92c3773b6 100644 --- a/src/condense_loopset.jl +++ b/src/condense_loopset.jl @@ -919,6 +919,7 @@ can_turbo(::typeof(vfmsubadd), ::Val{3}) = true can_turbo(::typeof(ifelse), ::Val{3}) = true can_turbo(::typeof(!), ::Val{1}) = true can_turbo(::typeof(^), ::Val{2}) = true +can_turbo(::typeof(Base.literal_pow), ::Val{3}) = true """ check_turbo_safe(ls::LoopSet)