[clang] [AIX] recognize vsr in inline asm for AIX (PR #68476)

Stefan Pintilie via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 11 10:24:54 PDT 2023


================
@@ -828,10 +829,7 @@ const TargetInfo::AddlRegName GCCAddlRegNames[] = {
 };
 
 ArrayRef<TargetInfo::AddlRegName> PPCTargetInfo::getGCCAddlRegNames() const {
-  if (ABI == "elfv2")
-    return llvm::ArrayRef(GCCAddlRegNames);
-  else
-    return TargetInfo::getGCCAddlRegNames();
+  return llvm::ArrayRef(GCCAddlRegNames);
----------------
stefanp-ibm wrote:

Okay fair enough. If GCC accepts there on ELFv1 then we can too. 

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


More information about the cfe-commits mailing list