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)
commit9d7bc0874cf20f44cd331c77f5a003b4c4b262bd
tree8985b523b3b6c514641ef378573b9eeb2d103bbb
parentd55e6ddacf0e948342e71bf8bbd990a3ae89faa5
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.

llvm-svn: 225416
llvm/lib/CodeGen/RegisterCoalescer.cpp