[all-commits] [llvm/llvm-project] 91a205: [AArch64][SVE] Instcombine ptrue(all) to splat(i1)...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Sun Apr 13 12:41:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91a205653e8fa5a338c985b9a9dbaaaec62e3475
      https://github.com/llvm/llvm-project/commit/91a205653e8fa5a338c985b9a9dbaaaec62e3475
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/test/CodeGen/AArch64/sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
    M clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_rdffr.c
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-abs-srshl.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-all-active-lanes-cvt.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-strictfp.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-combine-to-u-forms.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-rdffr-predication.ll

  Log Message:
  -----------
  [AArch64][SVE] Instcombine ptrue(all) to splat(i1) (#135016)

SVE Operations such as predicated loads become canonicalized to LLVM
masked loads, and doing the same for ptrue(all) to splat(1) creates
further optimization opportunities from generic LLVM IR passes.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list