[all-commits] [llvm/llvm-project] c7f18b: [AArch64] Fix op mask detection in performZExtDein...

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 10 13:57:28 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c7f18bae1a9c188706912dc3379afb1de7f8921e
      https://github.com/llvm/llvm-project/commit/c7f18bae1a9c188706912dc3379afb1de7f8921e
  Author: David Green <david.green at arm.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/zext-shuffle.ll

  Log Message:
  -----------
  [AArch64] Fix op mask detection in performZExtDeinterleaveShuffleCombine (#126054)

Given a zext from an extract vector, with a shuffle mask like <4, 0, 0, 4> we
would previously recognize the top half as a deinterleave. In order to convert
into a uzp we should have been checking that the bottom half is also poison.

Fixes #125989

(cherry picked from commit 2c43479683651f0eb208c97bf12e49bacbea4e6f)



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