[all-commits] [llvm/llvm-project] 8fb211: [AArch64] Preserve undef on registers when expandi...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Nov 6 02:37:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fb2113eb46e6120025d824c15c5028ea2de8a7b
      https://github.com/llvm/llvm-project/commit/8fb2113eb46e6120025d824c15c5028ea2de8a7b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/test/CodeGen/AArch64/expand-blr-rvmarker-pseudo.mir

  Log Message:
  -----------
  [AArch64] Preserve undef on registers when expanding CALL_RVMARKER. (#71177)

Preserve the undef flag on register operands when expanding
CALL_RVMARKER. This fixes a crash when the x0 operand is undef, e.g.
because it was poison in the input IR.

Fixes https://github.com/llvm/llvm-project/issues/68005.




More information about the All-commits mailing list