RegisterCoalescer: Do not remove IMPLICIT_DEFS if they are required for subranges.
authorMatthias Braun <matze@braunis.de>
Thu, 8 Jan 2015 00:21:23 +0000 (00:21 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 8 Jan 2015 00:21:23 +0000 (00:21 +0000)
commit9f6a38fc70875e1f6066da05bd2bd38686a73239
treeec918c94823d26d7d5cd8014974a666a2d2ae6bb
parenta065cf13cd6da7ecd142a71957f048f5141d2954
RegisterCoalescer: Do not remove IMPLICIT_DEFS if they are required for subranges.

The register coalescer used to remove implicit_defs when they are
covered by the main range anyway. With subreg liveness tracking we can't
do that anymore in places where the IMPLICIT_DEF is required as begin of
a subregister liverange.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225416 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp