[PATCH] D77101: [AIX] Return the correct set of callee saved regs

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 15:11:12 PDT 2020


lei added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:171
                       : CSR_SVR64_ColdCC_Altivec_SaveList;
-      return SaveR2 ? CSR_SVR64_ColdCC_R2_SaveList
-                    : CSR_SVR64_ColdCC_SaveList;
+      return SaveR2 ? CSR_SVR64_ColdCC_R2_SaveList : CSR_SVR64_ColdCC_SaveList;
     }
----------------
nit: unrelated format change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77101





More information about the llvm-commits mailing list