[PATCH] D58376: [RegAllocGreedy] Take last chance recoloring into account in split and assign

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 18 23:38:40 PST 2019


uabelho created this revision.
uabelho added a reviewer: qcolombet.
Herald added a subscriber: MatzeB.
Herald added a project: LLVM.

This is a follow-up to r353988 where tryEvict was extended to take last
chance recoloring into account. Now we do the same thing for trySplit and
tryAssign.

Now we always pass a "FixedRegisters" argument to canEvictInterference and
tryEvict so it doesn't need to have a default value anymore.

The need for this was found long ago in an out-of-tree target.
Unfortunately I don't have a reproducer for an in-tree target.


Repository:
  rL LLVM

https://reviews.llvm.org/D58376

Files:
  lib/CodeGen/RegAllocGreedy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58376.187316.patch
Type: text/x-patch
Size: 5005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190219/356224b9/attachment-0001.bin>


More information about the llvm-commits mailing list