[PATCH] D157416: [RISCV][GlobalISel] Legalize multiplication

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 02:03:52 PDT 2023


tschuett added inline comments.


================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp:107
+
+    getActionDefinitionsBuilder({G_SMULO, G_UMULO})
+        .widenScalarToNextPow2(0)
----------------
This builder looks the same with and without the extension? Could you hoist it above the if?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157416



More information about the llvm-commits mailing list