[clang] [llvm] [X86] support reserve r8~r15 on X86_64 (PR #180242)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 08:03:22 PST 2026


================
@@ -149,6 +151,14 @@ void x86::getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple,
   }
 
   const llvm::Triple::ArchType ArchType = Triple.getArch();
+  bool HasEGPR = false;
+
+  if (ArchType == llvm::Triple::x86_64) {
----------------
zhouguangyuan0718 wrote:

Done, could you help review the comments again?

https://github.com/llvm/llvm-project/pull/180242


More information about the cfe-commits mailing list