Make the print format consistent with other assembler instructions.
Adding a tab character instead of space in asmstring of Ext and Ins instructions.
Removing space around the tab character for JALRC and replacing space with tab in JRC.
Paths
| Differential D38144
[mips][mips16] Fix asmstring of Ext and Ins instructions and mips16 JALRC and JRC ClosedPublic Authored by mstojanovic on Sep 21 2017, 10:43 AM.
Details Summary Make the print format consistent with other assembler instructions. Adding a tab character instead of space in asmstring of Ext and Ins instructions.
Diff Detail Event TimelineComment Actions LGTM with a test. You can use FileCheck's -strict-whitespace to get FileCheck to treat ' ' and '\t' differently, also you can modify/copy test/CodeGen/Mips/helloworld.ll for the mips16 case. This revision is now accepted and ready to land.Sep 21 2017, 1:48 PM mstojanovic retitled this revision from [mips][mips16] Fix asmstring of Ext and Ins instructions and mips16 JALRC to [mips][mips16] Fix asmstring of Ext and Ins instructions and mips16 JALRC and JRC. Comment ActionsAdded -strict-whitespace tests. Comment Actions LGTM still, just add the comment I've placed inline on commit.
Closed by commit rL319030: [mips] fix asmstring of Ext and Ins instructions and mips16 JALRC/JRC (authored by petarj). · Explain WhyNov 27 2017, 6:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 124211 lib/Target/Mips/Mips16InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/whitespace.ll
|
Add a comment to this test specifying that is testing whitespace in case someone misses the -strict-whitespace in the FileCheck invocation.