Fix RegisterCoalescer::rematerializeTrivialDef() so that it works on flipped
authorCameron Zwarich <zwarich@apple.com>
Thu, 14 Feb 2013 02:51:05 +0000 (02:51 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 14 Feb 2013 02:51:05 +0000 (02:51 +0000)
commit1d4673228143965fafbcb679417f5a9be53d0a2a
tree670a439dc05337cdeb5de38164eee83e8db179f9
parentc5f147459b1704e25df4ff888729dd5d22d73381
Fix RegisterCoalescer::rematerializeTrivialDef() so that it works on flipped
CoalescerPairs. Also, make it take a CoalescerPair directly like other methods
of RegisterCoalescer.

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