[PATCH] D96013: GlobalISel: Try to combine G_[SU]DIV and G_[SU]REM

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 09:30:36 PST 2021


paquette added a comment.

Can you add an entry for `G_SDIVREM` and `G_UDIVREM` to docs/GlobalISel/GenericOpcode.rst?



================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:6277
+
+LegalizerHelper::LegalizeResult LegalizerHelper::lowerDIVREM(MachineInstr &MI) {
+  // Split DIVREM into individual instructions.
----------------
Can the Legalizer changes come in a follow-up patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96013



More information about the llvm-commits mailing list