[PATCH] D20295: When looking for a spill slot in reg scavenger, find one that matches RC

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 12:47:54 PDT 2016


kparzysz created this revision.
kparzysz added a reviewer: qcolombet.
kparzysz added a subscriber: llvm-commits.
kparzysz set the repository for this revision to rL LLVM.

When looking for an available spill slow, the register scavenger would stop after finding the first one with no register assigned to it. That slot may have size and alignment that do not meet the requirements of the register that is to be spilled.

Repository:
  rL LLVM

http://reviews.llvm.org/D20295

Files:
  lib/CodeGen/RegisterScavenging.cpp
  test/CodeGen/Hexagon/reg-scavenger-valid-slot.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20295.57384.patch
Type: text/x-patch
Size: 11120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/4f35b720/attachment.bin>


More information about the llvm-commits mailing list