[PATCH] D157416: [RISCV][GlobalISel] Legalize multiplication
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 10 09:38:53 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp:112
+
+ getActionDefinitionsBuilder({G_SMULH, G_UMULH}).legalFor({XLenLLT}).lower();
+ } else {
----------------
Why do we need .lower() on this? We have instructions for G_SMULH and G_UMULH.
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