[all-commits] [llvm/llvm-project] 437346: [GlobalISel] Widen vector loads from aligned ptrs ...

David Green via All-commits all-commits at lists.llvm.org
Fri Jun 20 23:43:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 437346378fd4d40af30e6969621a605cbd6215d1
      https://github.com/llvm/llvm-project/commit/437346378fd4d40af30e6969621a605cbd6215d1
  Author: David Green <david.green at arm.com>
  Date:   2025-06-21 (Sat, 21 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-range.mir
    M llvm/test/CodeGen/AArch64/add.ll
    M llvm/test/CodeGen/AArch64/andorxor.ll
    M llvm/test/CodeGen/AArch64/ctlz.ll
    M llvm/test/CodeGen/AArch64/ctpop.ll
    M llvm/test/CodeGen/AArch64/cttz.ll
    M llvm/test/CodeGen/AArch64/load.ll
    M llvm/test/CodeGen/AArch64/mul.ll
    M llvm/test/CodeGen/AArch64/neon-dotreduce.ll
    M llvm/test/CodeGen/AArch64/sub.ll

  Log Message:
  -----------
  [GlobalISel] Widen vector loads from aligned ptrs (#144309)

If the pointer is aligned to more than the size of the vector, we can
widen the load up to next power of 2 size, as SDAG performs.

Some of the v3 tests are currently worse - those should be addressed in
other issues.



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