SDIVREM and UDIVREM can be customized lowered in MipsSE.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It matches what we've done on X86 but I don't know if there's any reason MIPS has never added TTI support before? @sdardis might know the background.
Comment Actions
Nit: the summary should have the line--"This resolves PR/54991" to aid in bug tracking.
LGTM.
For the background on MIPS lacking TTI information, other support was more important at the time, though it was on my todo list.
Let me know if you need someone to commit this on your behalf.
Thanks for the report & patch!
llvm/lib/Target/Mips/CMakeLists.txt | ||
---|---|---|
67 | Nit: This line should be after the MipsTargetObjectFile.cpp to attempt to keep the alphabetical ordering of the entries in this stanza. |
Nit: This line should be after the MipsTargetObjectFile.cpp to attempt to keep the alphabetical ordering of the entries in this stanza.