[clang] [lld] [llvm] [X86][APX] Suppress EGPR/NDD instructions for relocations (PR #136660)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 01:27:13 PDT 2025
================
@@ -1257,6 +1259,26 @@ inline bool isX86_64ExtendedReg(MCRegister Reg) {
return false;
}
+inline const TargetRegisterClass *
+constrainRegClassToNonRex2(const TargetRegisterClass *RC) {
----------------
KanRobert wrote:
It seems it's not appropriate place. X86BaseInfo is used to put common info for MC part. The new added headers are strange.
Suggest declare it in `X86RegisterInfo.h` and define it in `X86RegisterInfo.cpp`
https://github.com/llvm/llvm-project/pull/136660
More information about the llvm-commits
mailing list