[clang] [llvm] [LV][LAA] Vectorize math lib calls with mem write-only attribute (PR #78432)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 08:35:17 PDT 2024


================
@@ -0,0 +1,117 @@
+; RUN: opt < %s -mattr=+sve -vector-library=ArmPL -passes=inject-tli-mappings,loop-vectorize -debug-only=loop-accesses -disable-output 2>&1 | FileCheck %s
+
+; REQUIRES: asserts
+
+target triple = "aarch64-unknown-linux-gnu"
+
+; TODO: add mappings for frexp/frexpf
----------------
fhahn wrote:

Are you planning to add support to LoopVectorizationLegality as well? Would probably good to do this first 

https://github.com/llvm/llvm-project/pull/78432


More information about the llvm-commits mailing list