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)
commit589d8fd65dc91ebacab4c66b6fb54d55aa2a60d1
tree31b60d10a66f4efdf40eddb934dbc0321795cc7e
parentf87165820d1985a359bb22c29a8a309de5f52807
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).

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