[clang] [PowerPC] Make "ca" aliased to "xer" (PR #77557)

Kai Luo via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 19:18:12 PST 2024


================
@@ -782,6 +782,8 @@ ArrayRef<const char *> PPCTargetInfo::getGCCRegNames() const {
 const TargetInfo::GCCRegAlias PPCTargetInfo::GCCRegAliases[] = {
     // While some of these aliases do map to different registers
     // they still share the same register name.
+    // Strictly speaking, "ca" is a subregister of "xer". However currently we
----------------
bzEq wrote:

Maybe a note. I don't think we are modeling other fields like `SO`, `OV` in `XER` in the near future.

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


More information about the cfe-commits mailing list