[PATCH] D26946: TRI: Add hook to pass scavenger during frame elimination

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 15:52:42 PST 2016


arsenm created this revision.
arsenm added a reviewer: MatzeB.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, wdng.

The scavenger was not passed if requiresFrameIndexScavenging was
enabled. I need to be able to test for the availability of an
unallocatable register here, so I can't create a virtual register for it.

      

It might be better to just always use the scavenger and stop
creating virtual registers.


https://reviews.llvm.org/D26946

Files:
  include/llvm/Target/TargetRegisterInfo.h
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26946.78799.patch
Type: text/x-patch
Size: 4810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161121/3ab3dc53/attachment.bin>


More information about the llvm-commits mailing list