[all-commits] [llvm/llvm-project] b08769: [AArch64][GlobalISel] Clean up CTLZ vector type le...

David Green via All-commits all-commits at lists.llvm.org
Wed Mar 19 12:28:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0876994ebe3118407a8a70d79bb3149cebb5fda
      https://github.com/llvm/llvm-project/commit/b0876994ebe3118407a8a70d79bb3149cebb5fda
  Author: David Green <david.green at arm.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/ctlz.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Clean up CTLZ vector type legalization. (#131514)

Similar to other operations, s8, s16 and s32 vector elements are clamped
to legal vector sizes, but in this case s64 are scalarized to use the
gpr instructions. This allows vector types to split as opposed to
scalarizing.



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