[llvm] [TLI][NFC] Autogenerate vectorized libcall tests for SLEEF/ArmPL. (PR #76146)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 10:08:48 PST 2023


================
@@ -1,21 +1,23 @@
-; RUN: opt -vector-library=ArmPL -passes=inject-tli-mappings,loop-vectorize -S < %s | FileCheck %s --check-prefixes=CHECK,NEON
-; RUN: opt -mattr=+sve -vector-library=ArmPL -passes=inject-tli-mappings,loop-vectorize -S < %s | FileCheck %s --check-prefixes=CHECK,SVE
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call.*(cos|sin|tan|cbrt|erf|exp[^e]|gamma|log|sqrt|copysign|dim|min|mod|hypot|nextafter|pow|fma)" --version 2
----------------
paschalis-mpeis wrote:

I think tests look OK, and the flags are consistent now:
- `-force-vector-interleave=1` is used in both NEON and SVE, and 
- `-prefer-predicate-over-epilogue=predicate-dont-vectorize` only for SVE.

The only thing I'm not sure is reverting back to the use of `exp[^e]` (for excluding calls like `llvm.experimental.*`

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


More information about the llvm-commits mailing list