[PATCH] D33593: [mips] Don't use FastISel when -mxgot is present

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 07:34:59 PDT 2017


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

LGTM. Comment inlined.



================
Comment at: lib/Target/Mips/MipsISelLowering.cpp:474
 
   // Disable if we don't generate PIC or the ABI isn't O32.
+  if (!TM.isPositionIndependent() || !TM.getABI().IsO32() || LargeGOT)
----------------
Also, update this list of reasons why we disable fastisel to include the xgot case.


https://reviews.llvm.org/D33593





More information about the llvm-commits mailing list