RegisterCoalescer: Avoid unnecessary register class widening for some rematerializations
authorMatthias Braun <matze@braunis.de>
Thu, 23 Apr 2015 23:24:36 +0000 (23:24 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 23 Apr 2015 23:24:36 +0000 (23:24 +0000)
commit43fb8a157b270e70d553231c8561a2efd012c774
tree048d7dca4e10e4a18d3a806111fd229179a35984
parent5c5facc2ce1b8469494e37c07f69223e3bc45d2c
RegisterCoalescer: Avoid unnecessary register class widening for some rematerializations

I couldn't provide a testcase as none of the public targets has wide
register classes with alot of subregisters and at the same time an
instruction which "ReMaterializable" and "AsCheapAsAMove" (could
probably be added for R600).

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