[PATCH] D80768: [X86] Ignore large code model in X86FastISel::X86MaterializeFP in 32-bit mode

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 18:11:19 PDT 2020


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

One inline, otherwise looks great :)



================
Comment at: llvm/lib/Target/X86/X86FastISel.cpp:3790
 
-  if (CM == CodeModel::Large) {
+  if (Subtarget->is64Bit() && CM == CodeModel::Large) {
     unsigned AddrReg = createResultReg(&X86::GR64RegClass);
----------------
Comment please? :)


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

https://reviews.llvm.org/D80768





More information about the llvm-commits mailing list