Implement CodeGen support for 16-bit microMIPS SLL16 and SRL16 instructions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/Mips/MipsInstrInfo.td | ||
---|---|---|
1102–1103 | You don't need HasStdEnc here, because parent class InstSE sets it. | |
test/CodeGen/Mips/micromips-srl.ll | ||
1 ↗ | (On Diff #15320) | I think it would be better if you merge this file with the test/CodeGen/Mips/micromips-sll.ll, and name the resulting file (for example) test/CodeGen/Mips/micromips-shift.ll. |
test/CodeGen/Mips/micromips-sll.ll | ||
---|---|---|
2 ↗ | (On Diff #15320) | '\' at the end of first line is missing. Also, colon after RUN on the second line is missing. |
Comment Actions
- 'HasStdEnc' removed from 'AdditionalPredicates'
- The files 'micromips-sll.ll' and 'micromips-srl.ll' merged to 'micromips-shift.ll'
You don't need HasStdEnc here, because parent class InstSE sets it.