[PATCH] D44782: Account for partial stack slot spills (PR30821)

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 09:16:39 PDT 2018


jmorse updated this revision to Diff 143764.
jmorse added a comment.

Changed test to use MIR, and put it in the X86 test directory.

The MIR test is definitely simpler and more specific, which is good, but requires tricking the register allocator to exercise the appropriate code path -- see inline comments in the MIR file. The net effect is just that we have to run three passes instead of just stack-slot-colouring, and have a few assignments copy-and-pasted.


https://reviews.llvm.org/D44782

Files:
  include/llvm/CodeGen/TargetInstrInfo.h
  lib/CodeGen/StackSlotColoring.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/pr30821.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44782.143764.patch
Type: text/x-patch
Size: 20992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/7fe12356/attachment.bin>


More information about the llvm-commits mailing list