[PATCH] D88676: [PPC][AIX] Add vector callee saved registers for AIX extended vector ABI

Zarko Todorovski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 08:02:16 PST 2020


ZarkoCA marked an inline comment as done.
ZarkoCA added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:184
   if (TM.isPPC64()) {
-    if (Subtarget.hasAltivec())
+    if (Subtarget.hasAltivec()) {
+      if (Subtarget.isAIXABI() && !TM.getAIXExtendedAltivecABI())
----------------
sfertile wrote:
> I suggest doing the error checking once before  getting into the 32-bit/64-bit blocks.
Thanks, good suggestion, I moved it up right at the beginning of the function. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88676



More information about the llvm-commits mailing list