Add code to do the simple return instruction
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Did you mean to update D3404 rather than create a new patch? It looks like it's the same change with the test case added and EnableMipsFastISel defaulted to true.
lib/Target/Mips/MipsISelLowering.cpp | ||
---|---|---|
56 ↗ | (On Diff #8655) | As discussed, I'm in favour of it being enabled by default but I ought to ask if it was intentional. |
test/CodeGen/Mips/Fast-ISel/nullvoid.ll | ||
1–2 ↗ | (On Diff #8655) | There's trailing whitespace on the second RUN line. |
10–11 ↗ | (On Diff #8655) | Blank lines at EOF |
I had changed init to true because management instructed me to do so.
But I've been arguing for it to be false.
But it seems everyone else wants it to be true.
I will enable it to be true but submit that as a separate one line patch.
- fix test case so that it only works if all fast-isel patterns are matched. also add one line omitted from select ret that is needed in all other ports for fast-isel
-O0 was need for the test case in order to enable -fast-isel. It would also have been possible to just add -fast-isel.
-fast-isel-abort requires that -fast-isel is already enabled.