Add numeric extend, trunctate to mips fast-isel
Reactivates D4827
Differential D5251
Add numeric extend, trunctate to mips fast-isel rkotler on Sep 8 2014, 12:38 PM. Authored by
Details
Diff Detail Event TimelineComment Actions
Update patch to handler Mips32/r1 Comment Actions
Add an extra test for mips32r1 Comment Actions It will LGTM with a nit, the CHECK-LABEL change, and mcrosiers review comments from the original review (D4827) handled. There's one additional change from the original review that I'd like you to make but it's no longer a hard requirement.
Just a quick reminder that 'arc commit' will use this text as-is in the commit message. You'll need to edit the revision to drop the last two lines of the summary or commit with svn. On a similar note, you seem to have arcanist instructions in the description of your two updates.
Comment Actions
reformat MipsFastISel.cpp using clang format |
Per my original comments in D4827, I'd prefer this to be calculated rather than special cased for each type. However, you've handled the most important point of those comments (MIPS32r1 support) so while I'd appreciate it using 'ShiftAmt = GPRSize - SrcVT.getSizeInBits()' and a separate if-statement. I'm not going to make that a hard requirement.
Likewise for the ZExt cases.