[PATCH] D157422: [RISCV][GlobalISel] Legalize division and remainder
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 23:25:38 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp:114
+
+ getActionDefinitionsBuilder({G_UDIV, G_SDIV, G_UREM, G_SREM})
+ .legalFor({XLenLLT})
----------------
Division should not be affected by Zmmul. Zmmul is for multiply instructions only.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157422/new/
https://reviews.llvm.org/D157422
More information about the llvm-commits
mailing list