Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a few nits.
I noticed you don't actually use DSPR3 yet but I expect will change in the next few patches.
lib/Target/Mips/MicroMipsDSPInstrFormats.td | ||
---|---|---|
1–2 ↗ | (On Diff #35093) | Unfortunately, this has to be a single line and we have to fit into 80 cols as well. The '-*- tablegen -*-' is used by editors to configure for the specified language. The 'Micromips DSP' part is probably the best bit to remove. |
13 ↗ | (On Diff #35093) | HasDSP is not an encoding predicate, it belongs in InsnPredicates. |
lib/Target/Mips/MipsSEISelLowering.cpp | ||
935–936 ↗ | (On Diff #35093) | !hasDSPR3() is redundant here. The predicates are cumulative so you have have DSPR3 without also having DSPR2. |
948–949 ↗ | (On Diff #35093) | !hasDSPR3() is redundant here. The predicates are cumulative so you have have DSPR3 without also having DSPR2. |