When program is compiled for mips3 with n64 abi, wrong register class is used for creating an emergency spill slot.
This patch fixes the correct register class to be chosen.
This resolves PR35859.
Thanks to John Baldwin for reporting the issue!
Paths
| Differential D47938
[mips] Fix spill slot for mips3, n64 abi ClosedPublic Authored by abeserminji on Jun 8 2018, 4:28 AM.
Details Summary When program is compiled for mips3 with n64 abi, wrong register class is used for creating an emergency spill slot. This resolves PR35859. Thanks to John Baldwin for reporting the issue!
Diff Detail
Event TimelineHerald added subscribers: atanasyan, arichardson, qcolombet. · View Herald TranscriptJun 8 2018, 4:28 AM Comment Actions Edit the summary so that rather that it says: This resolves PR35859. Thanks to John Baldwin for reporting the issue! Otherwise LGTM.
This revision is now accepted and ready to land.Jun 8 2018, 5:01 AM
Closed by commit rL334419: [mips] Fix spill slot for mips3, n64 abi (authored by abeserminji). · Explain WhyJun 11 2018, 9:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 150779 llvm/trunk/lib/Target/Mips/MipsSEFrameLowering.cpp
llvm/trunk/test/CodeGen/Mips/mips3-spill-slot.ll
|