[all-commits] [llvm/llvm-project] efa2e4: [X86] Fix operand of TAILJMPm64_REX (#225080)

eleviant via All-commits all-commits at lists.llvm.org
Tue Sep 22 11:14:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efa2e450edc341bac7a5215f408f4d1480047c8c
      https://github.com/llvm/llvm-project/commit/efa2e450edc341bac7a5215f408f4d1480047c8c
  Author: eleviant <eleviant at accesssoftek.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrControl.td
    A llvm/test/CodeGen/X86/pseudo-expand-tc.mir

  Log Message:
  -----------
  [X86] Fix operand of TAILJMPm64_REX (#225080)

The TAILJMPm64_REX pseudo-instruction is emitted by the
x86-expand-pseudo pass after the register allocator, replacing
TCRETURN_WINmi64 or TCRETURNmi64 depending on the target ABI. The
problem is that the former uses the GR64_TC register class for its
memory address operand, while the latter uses GR64_TCW64. This breaks
MachineVerifier, triggering an assertion in EXPENSIVE_CHECKS builds.



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