]> granicus.if.org Git - llvm/commit
RegisterCoalescer: Fix joinReservedPhysReg()
authorMatthias Braun <matze@braunis.de>
Thu, 9 Feb 2017 21:45:33 +0000 (21:45 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 9 Feb 2017 21:45:33 +0000 (21:45 +0000)
commit16757866b138cdb1f0ec61cac8ea800e0e74ce15
tree017790817d50455076fda10f026242babc4eadd5
parenta4750c1c4109c1ed25faf2e07338115adc0f0219
RegisterCoalescer: Fix joinReservedPhysReg()

Merging r294268:

joinReservedPhysReg() can only deal with a liverange in a single basic
block when copying from a vreg into a physreg.

See also rdar://30306405

Differential Revision: https://reviews.llvm.org/D29436

Fixes http://llvm.org/PR31889

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@294631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
test/CodeGen/AArch64/regcoal-physreg.mir