[clang] [lld] [llvm] [X86][APX] Suppress EGPR/NDD instructions for relocations (PR #136660)
Feng Zou via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 29 02:35:57 PDT 2025
================
@@ -1257,6 +1259,26 @@ inline bool isX86_64ExtendedReg(MCRegister Reg) {
return false;
}
+inline const TargetRegisterClass *
+constrainRegClassToNonRex2(const TargetRegisterClass *RC) {
----------------
fzou1 wrote:
I wrote it based on canUseApxExtendedReg function. Updated.
https://github.com/llvm/llvm-project/pull/136660
More information about the cfe-commits
mailing list