[PATCH] D84847: [PowerPC] Add accumulator register class and instructions

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 15:13:59 PDT 2020


lei accepted this revision.
lei added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/PowerPC/PPCRegisterInfo.h:156
+        if (RegName[1] == 'c')
+          if (RegName[2] == 'c')
+            return RegName + 3;
----------------
nit: 
` if ( RegName[1] == 'c' && RegName[2] == 'c')`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84847/new/

https://reviews.llvm.org/D84847



More information about the llvm-commits mailing list