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)
commit48ab445621077bef077b7392b93c1d7cd5392b62
treec996af10472bea8716bdbdaea29a9b8bdc4acebe
parent1195e819bbddcf1412094e9b48a089165d13a1a1
Fix RegisterCoalescer::rematerializeTrivialDef() so that it works on flipped
CoalescerPairs. Also, make it take a CoalescerPair directly like other methods
of RegisterCoalescer.

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