[all-commits] [llvm/llvm-project] 9ec4fd: [AArch64] Protect against unexpected SIGN_EXTEND_I...

David Green via All-commits all-commits at lists.llvm.org
Thu Jan 22 23:34:15 PST 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ec4fd0b49c4397b407c05cbf65be91504817c24
      https://github.com/llvm/llvm-project/commit/9ec4fd0b49c4397b407c05cbf65be91504817c24
  Author: David Green <david.green at arm.com>
  Date:   2026-01-23 (Fri, 23 Jan 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/aarch64-dup-ext-crash.ll

  Log Message:
  -----------
  [AArch64] Protect against unexpected SIGN_EXTEND_INREG in performBuildShuffleExtendCombine (#176733)

Apparently this code is only expecting shuffle of SIGN_EXTEND or
ZERO_EXTEND, but can sometimes see a SIGN_EXTEND_INREG of the second
vector operand. Add a check that the second operand has the same
constraints as the first.

Fixes #176314

(cherry picked from commit 242ca4e116d18849187617d7399be20b136d768b)



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