[all-commits] [llvm/llvm-project] d72622: [TLI] Add getLibFunc in API that accepts an Instru...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Wed Dec 20 06:17:23 PST 2023


  Branch: refs/heads/users/paschalis/extend-tli-for-instructions
  Home:   https://github.com/llvm/llvm-project
  Commit: d7262239928eb1c7e7de8b6fa8e420d51da9a15c
      https://github.com/llvm/llvm-project/commit/d7262239928eb1c7e7de8b6fa8e420d51da9a15c
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  [TLI] Add getLibFunc in API that accepts an Instruction.

It sets a LibFunc similarly with the other two getLibFunc methods.
Currently, it supports only the FRem Instruction.

Add tests for FRem.


  Commit: 1c605cab2a161eee0e56c0d82480d18fcfbb2ed4
      https://github.com/llvm/llvm-project/commit/1c605cab2a161eee0e56c0d82480d18fcfbb2ed4
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  Dropping FP128 as they are target specific.


  Commit: e239e37772a12c9417e2140280f5550c3aec78e3
      https://github.com/llvm/llvm-project/commit/e239e37772a12c9417e2140280f5550c3aec78e3
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  Simplified code.

Test class:
- no longer using IRBuilder to create FRem instructions
- no need to use ArmPL vector library


  Commit: 24617b5a3e99f563b38127e235f7bc66d6015e04
      https://github.com/llvm/llvm-project/commit/24617b5a3e99f563b38127e235f7bc66d6015e04
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  getLibFunc accepts an Opcode and a ScalarFTy.


Compare: https://github.com/llvm/llvm-project/compare/b3718544febb...24617b5a3e99


More information about the All-commits mailing list