[clang] [AIX] recognize vsr in inline asm for AIX (PR #68476)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 10 12:31:58 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);
----------------
hubert-reinterpretcast wrote:
@stefanp-ibm, GCC does accept these register names for ELFv1: https://github.com/llvm/llvm-project/pull/68476#discussion_r1349529109
For the compiler, I think the main responsibility would be to understand that these registers may overlay non-volatile FP and VMX registers.
https://github.com/llvm/llvm-project/pull/68476
More information about the cfe-commits
mailing list