Add numeric extend, trunctate to mips fast-isel
Reactivates D4827
Paths
| Differential D5251
Add numeric extend, trunctate to mips fast-isel ClosedPublic Authored by rkotler on Sep 8 2014, 12:38 PM.
Details
Diff Detail Event Timelinerkotler updated this object. Comment 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.
rkotler edited edge metadata. Comment Actions
Comment Actions
reformat MipsFastISel.cpp using clang format
Revision Contents
Diff 14198 lib/Target/Mips/MipsFastISel.cpp
test/CodeGen/Mips/Fast-ISel/fpext.ll
test/CodeGen/Mips/Fast-ISel/loadstoreconv.ll
|
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.