[all-commits] [llvm/llvm-project] d412f7: [NFC][TLI] Improve tests for ArmPL and SLEEF Intri...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Tue Dec 19 04:33:19 PST 2023


  Branch: refs/heads/users/paschalis-mpeis/replace-with-veclip-scalable-vec
  Home:   https://github.com/llvm/llvm-project
  Commit: d412f7467a9b4dfc8ab8d969b45704d058fe6e6f
      https://github.com/llvm/llvm-project/commit/d412f7467a9b4dfc8ab8d969b45704d058fe6e6f
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/AArch64/sleef-intrinsic-calls-aarch64.ll

  Log Message:
  -----------
  [NFC][TLI] Improve tests for ArmPL and SLEEF Intrinsics.

Auto-generate test `armpl-intrinsics.ll`, and use active lane mask to
have shorter `shufflevector` check lines.

Update scripts now add `@llvm.compiler.used` instead of using the regex:
`@[[LLVM_COMPILER_USED:[a-zA-Z0-9_$"\\.-]+]]`


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

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/AArch64/sleef-intrinsic-calls-aarch64.ll

  Log Message:
  -----------
  Add `simplifycfg` pass and `noalias` to ensure tail folding.

`noalias` attribute was added only to the `%in.ptr` parameter of the
ArmPL Intrinsics.


  Commit: 52ce4f2d655a60cc2eb5dd5b0b01fc925a38c273
      https://github.com/llvm/llvm-project/commit/52ce4f2d655a60cc2eb5dd5b0b01fc925a38c273
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/VFABIDemangling.cpp
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-armpl.ll
    M llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-sleef-scalable.ll

  Log Message:
  -----------
  [TLI] Pass replace-with-veclib works with Scalable Vectors.

The pass uses the Masked variant of TLI method when the Intrinsic
operates on Scalable Vectors and it fails to find a non-Masked variant.


  Commit: 690d36dc8a97d8ac82f51d6726eba439bb0c7b3f
      https://github.com/llvm/llvm-project/commit/690d36dc8a97d8ac82f51d6726eba439bb0c7b3f
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-armpl.ll
    M llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-sleef-scalable.ll

  Log Message:
  -----------
  Use createFunctionType to correctly replace veclib calls.

Split replaceWithTLIFunction method into two methods.


  Commit: 02b0e21aa97ae72834438223e68edc65ae8a23f1
      https://github.com/llvm/llvm-project/commit/02b0e21aa97ae72834438223e68edc65ae8a23f1
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-sleef-scalable.ll

  Log Message:
  -----------
  getVecDesc now prioritizes masked variant

Also further cleanup to address reviewers.


  Commit: 5b2e317962d0239d46fc0be2c76556b04cfcd0eb
      https://github.com/llvm/llvm-project/commit/5b2e317962d0239d46fc0be2c76556b04cfcd0eb
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp

  Log Message:
  -----------
  Addressing review.

getTLIFunction is no longer an optional. It accepts a pointer for
ScalarFunc


Compare: https://github.com/llvm/llvm-project/compare/8082f46206a1...5b2e317962d0


More information about the All-commits mailing list