[PATCH] D10910: RAGreedy: Keep track of allocated PhysRegs internally

Matthias Braun matze at braunis.de
Thu Jul 2 14:52:00 PDT 2015


MatzeB created this revision.
MatzeB added reviewers: qcolombet, atrick.
MatzeB added a subscriber: llvm-commits-list.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: MatzeB.

Do not use MachineRegisterInfo::setPhysRegUsed()/isPhysRegUsed()
anymore. This bitset changes function-global state and is set by the
VirtRegRewriter anyway.
Simply use a bitvector private to RAGreedy.

rL LLVM

http://reviews.llvm.org/D10910

Files:
  lib/CodeGen/RegAllocGreedy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10910.28978.patch
Type: text/x-patch
Size: 5844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150702/ec6fd697/attachment.bin>


More information about the llvm-commits mailing list