[all-commits] [llvm/llvm-project] c19273: [LLVM][InstCombine][AArch64] Refactor common SVE i...

Paul Walker via All-commits all-commits at lists.llvm.org
Tue Apr 1 05:29:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c192737009584377d99b18bfbc8298c8e58bcd02
      https://github.com/llvm/llvm-project/commit/c192737009584377d99b18bfbc8298c8e58bcd02
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

  Log Message:
  -----------
  [LLVM][InstCombine][AArch64] Refactor common SVE intrinsic combines. (#126928)

Introduce SVEIntrinsicInfo to store properties common across SVE
intrinsics. This allows a seperation between intrinsic IDs and the
transformations that can be applied to them, which reduces the layering
problems we hit when adding new combines.

This PR is mostly refactoring to bring in the concept and port the most
common combines (e.g. dead code when all false). This will be followed
up with new combines where I plan to reuse much of the existing
instruction simplifcation logic to significantly improve our ability to
constant fold SVE intrinsics.



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