[all-commits] [llvm/llvm-project] 5b5756: [AArch64][SVE] NFC: auto-generate llvm/test/Transf...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Wed Oct 12 02:14:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b5756e6e31488f2cda2b15544b731b25e7899cf
      https://github.com/llvm/llvm-project/commit/5b5756e6e31488f2cda2b15544b731b25e7899cf
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll

  Log Message:
  -----------
  [AArch64][SVE] NFC: auto-generate llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll


  Commit: 388cacb341917964ee87b23c0af2990af9e66fe0
      https://github.com/llvm/llvm-project/commit/388cacb341917964ee87b23c0af2990af9e66fe0
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll

  Log Message:
  -----------
  [AArch64][SVE] Add instcombine for PTEST_ANY(X=OP(PG,...), X) -> PTEST_ANY(PG, X))

Given this is an OR reduction the two are equivalent and later
optimizations (AArch64InstrInfo::optimizePTestInstr) may rewrite the
sequence to use the flag-setting variant of instruction X, to remove the
PTEST altogether.

Reviewed By: paulwalker-arm, bsmith

Differential Revision: https://reviews.llvm.org/D134946


Compare: https://github.com/llvm/llvm-project/compare/fc651a06699e...388cacb34191


More information about the All-commits mailing list