[PATCH] D29436: RegisterCoalescer: Fix joinReservedPhysReg()

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 18:38:07 PST 2017


MatzeB created this revision.
Herald added a subscriber: mcrosier.

joinReservedPhysReg() assumed to have a linear program flow between def
and use with a linear sequence of slotindexes. This would fail in
the presence of complicated control flow and is fixed here.

rdar://30306405


Repository:
  rL LLVM

https://reviews.llvm.org/D29436

Files:
  lib/CodeGen/RegisterCoalescer.cpp
  test/CodeGen/AArch64/regcoal-physreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29436.86758.patch
Type: text/x-patch
Size: 4837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170202/11186a29/attachment.bin>


More information about the llvm-commits mailing list