[all-commits] [llvm/llvm-project] 62f264: X86: Stop using MachineFunction in getPointerRegCl...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Sep 10 07:40:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 62f2641d603db9aef99dd5c434a1dfe7d3f56346
https://github.com/llvm/llvm-project/commit/62f2641d603db9aef99dd5c434a1dfe7d3f56346
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-09-10 (Wed, 10 Sep 2025)
Changed paths:
M llvm/lib/Target/X86/X86AsmPrinter.cpp
M llvm/lib/Target/X86/X86ExpandPseudo.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrControl.td
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/lib/Target/X86/X86RegisterInfo.cpp
M llvm/lib/Target/X86/X86RegisterInfo.h
Log Message:
-----------
X86: Stop using MachineFunction in getPointerRegClass (#156880)
This should be a low level function used to interpret an
MCInstrDesc that only depends on the hwmode. It should not depend
on other dynamic context like the parent function. In general more
ABI properties like this should be expressed directly in the instruction
definitions, so introduce new TCRETURN pseudos to use with the special
case register classes (e.g. in a better future the callee saved
registers
would always be encoded directly in a mask on the return instruction).
This will help unify X86 onto a pending replacement mechanism for
getPointerRegClass.
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