[all-commits] [llvm/llvm-project] 242ca4: [AArch64] Protect against unexpected SIGN_EXTEND_I...

David Green via All-commits all-commits at lists.llvm.org
Wed Jan 21 01:14:57 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 242ca4e116d18849187617d7399be20b136d768b
      https://github.com/llvm/llvm-project/commit/242ca4e116d18849187617d7399be20b136d768b
  Author: David Green <david.green at arm.com>
  Date:   2026-01-21 (Wed, 21 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



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