[PATCH] D69835: Add options for PPC to enable/disable using non-volatile CR

Yi-Hong Lyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 06:46:02 PST 2019


Yi-Hong.Lyu added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCRegisterInfo.td:368
+  let AltOrderSelect = [{
+    return MF.getSubtarget<PPCSubtarget>().isELFv2ABI() && DisableNonVolatileCR;
+  }];
----------------
Why do we need to check isELFv2ABI()?


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

https://reviews.llvm.org/D69835





More information about the llvm-commits mailing list