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

Sean Fertile via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 09:51:12 PDT 2020


sfertile 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())
----------------
I suggest doing the error checking once before  getting into the 32-bit/64-bit blocks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88676



More information about the cfe-commits mailing list