[PATCH] D47938: [mips] Fix spill slot for mips3, n64 abi

Aleksandar Beserminji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 04:28:40 PDT 2018


abeserminji created this revision.
abeserminji added reviewers: sdardis, petarj.
Herald added subscribers: atanasyan, arichardson, qcolombet.

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.

Bug reported here: https://bugs.llvm.org/show_bug.cgi?id=35859


Repository:
  rL LLVM

https://reviews.llvm.org/D47938

Files:
  lib/Target/Mips/MipsSEFrameLowering.cpp
  test/CodeGen/Mips/mips3-spill-slot.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47938.150473.patch
Type: text/x-patch
Size: 4517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180608/740e1365/attachment.bin>


More information about the llvm-commits mailing list