[all-commits] [llvm/llvm-project] 5b0e19: [TLI][AArch64] Add mappings to vectorized function...

Maciej Gabka via All-commits all-commits at lists.llvm.org
Wed Jul 12 05:54:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b0e19a7ab05b51c72a8ae4c7b781438149dba7f
      https://github.com/llvm/llvm-project/commit/5b0e19a7ab05b51c72a8ae4c7b781438149dba7f
  Author: Maciej Gabka <maciej.gabka at arm.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/autocomplete.c
    M clang/test/Driver/fveclib.c
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    A llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-armpl.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/armpl-calls.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/armpl-intrinsics.ll

  Log Message:
  -----------
  [TLI][AArch64] Add mappings to vectorized functions from ArmPL

Arm Performance Libraries contain math library which provides
vectorized versions of common math functions.
This patch allows to use it with clang and llvm via -fveclib=ArmPL or
-vector-library=ArmPL, so loops with such calls can be vectorized.
The executable needs to be linked with the amath library.

Arm Performance Libraries are available at:
https://developer.arm.com/Tools%20and%20Software/Arm%20Performance%20Libraries

Reviewed by: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D154508




More information about the All-commits mailing list