[PATCH] D62249: RegAllocFast: Set MayLiveAcrossBlocks when allocating uses

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 05:13:19 PDT 2019


arsenm created this revision.
arsenm added reviewers: qcolombet, MatzeB.
Herald added a subscriber: wdng.

Setting mayLiveOut based only on use instructions after allocating the
def block did not work if the use block was allocated before the def
block, since the virtual register uses were already removed.

      

Fixes bug 41973.


https://reviews.llvm.org/D62249

Files:
  lib/CodeGen/RegAllocFast.cpp
  test/CodeGen/X86/bug41973.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62249.200706.patch
Type: text/x-patch
Size: 3985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190522/1976f701/attachment.bin>


More information about the llvm-commits mailing list