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

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 07:57:53 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
----------------
paschalis-mpeis wrote:

Indeed, using `-passes='print<access-info>'` is a better option here:
- it allows running LAA on the code regardless of LV's Legality result
- this would allow checking for `frexp` methods in a target agnostic manner.

Great suggestion, thanks!

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


More information about the llvm-commits mailing list