Revert r139782, "RemoveCopyByCommutingDef doesn't need hasPHIKill()."
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 15 Sep 2011 06:27:32 +0000 (06:27 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 15 Sep 2011 06:27:32 +0000 (06:27 +0000)
commit9b82d50d209adf915d3c7f871dc82cb73349db80
tree3f229adcc6c31cf06177ef1a3b88740e25732f8b
parent75c63087b4e1528cc608b1586014fc1ebad2d9fb
Revert r139782, "RemoveCopyByCommutingDef doesn't need hasPHIKill()."

It does, after all.

RemoveCopyByCommutingDef rewrites the uses of one particular value
number in A. It doesn't know how to rewrite phi uses, so there can't be
any.

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