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

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 08:25:06 PST 2023


================
@@ -1,4 +1,4 @@
-; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "(_)|(cos|expf?\(|exp2|exp10|fmod|gamma|log|pow|sin|sqrt|tan)|(ret)" --version 2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call.*(cos|^exp|mod|gamma|log|pow|sin|sqrt|tan)" --version 4
 ; RUN: opt -vector-library=sleefgnuabi -passes=inject-tli-mappings,loop-vectorize,simplifycfg -prefer-predicate-over-epilogue=predicate-dont-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s --check-prefix=NEON
----------------
mgabka wrote:

I think having the extra tests does not hurt, that means most likely that more SLEEF mappings can be added, as at the moment the ArmPL mappings in LLVM contain only the basics.

The reason why I prefer the ArmPL tests is that they are easier to read, the use pointers to src and dst of the function calls, and do not any extra not needed complexity to convert data to required format to pass it to the function call.

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


More information about the llvm-commits mailing list