[llvm] [NFC][TLI] order SLEEF mappings by alphabetical order (PR #77500)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 00:25:03 PST 2024


================
@@ -639,16 +641,16 @@ TLI_DEFINE_VECFUNC("logf", "_ZGVsMxv_logf", SCALABLE(4), MASKED, "_ZGVsMxv")
 TLI_DEFINE_VECFUNC("llvm.log.f64", "_ZGVsMxv_log", SCALABLE(2), MASKED, "_ZGVsMxv")
 TLI_DEFINE_VECFUNC("llvm.log.f32", "_ZGVsMxv_logf", SCALABLE(4), MASKED, "_ZGVsMxv")
 
-TLI_DEFINE_VECFUNC( "log2", "_ZGVsMxv_log2", SCALABLE(2), MASKED, "_ZGVsMxv")
----------------
mgabka wrote:

some of the existing tests are already (almost) sorted in alphabetical order, for example https://github.com/llvm/llvm-project/blob/main/llvm/test/Transforms/LoopVectorize/AArch64/veclib-intrinsic-calls.ll, it is also the natural way sort works on linux, my plan is to fix the order of the mappings, then fix the tests

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


More information about the llvm-commits mailing list