[PATCH] D89656: [X86] Add i32->float and i64->double bitcast pseudo instructions to store folding table.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 02:47:11 PDT 2020


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

LGTM



================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:5529
     unsigned Opcode = I->DstOp;
+    bool FoldedLoad =
+        isTwoAddrFold || (OpNum == 0 && I->Flags & TB_FOLDED_LOAD) || OpNum > 0;
----------------
Add a comment here or down below explaining the purpose + limits on reg/store size.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89656



More information about the llvm-commits mailing list