[clang] [X86][CFE] Support EGPR in inline assembly. (PR #91323)
Freddy Ye via cfe-commits
cfe-commits at lists.llvm.org
Tue May 7 19:05:44 PDT 2024
================
@@ -1763,10 +1823,14 @@ void X86TargetInfo::fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values) con
}
ArrayRef<const char *> X86TargetInfo::getGCCRegNames() const {
+ if (HasEGPR)
+ return llvm::ArrayRef(ExtendedGCCRegNames);
return llvm::ArrayRef(GCCRegNames);
----------------
FreddyLeaf wrote:
Got it. Addressed in [22a1795](https://github.com/llvm/llvm-project/pull/91323/commits/22a17952999aa2b10b8a71c71f7607e37290b973)
https://github.com/llvm/llvm-project/pull/91323
More information about the cfe-commits
mailing list