diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2015-07-22 21:30:16 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2015-07-22 21:30:16 +0000 |
commit | f16ec126549420c3906be3b59d07349c46170a1d (patch) | |
tree | 07eac0819b854412ab67a3b1dc489ce1dee06c0b /llvm/utils | |
parent | b9073fb20a222bca9fd96d3ff0c8ed3a196777d2 (diff) | |
download | bcm5719-llvm-f16ec126549420c3906be3b59d07349c46170a1d.tar.gz bcm5719-llvm-f16ec126549420c3906be3b59d07349c46170a1d.zip |
[PeepholeOptimizer] Refactor optimizeUncoalescable logic
Reapply r242294.
- Create a new CopyRewriter for Uncoalescable copy-like instructions
- Change the ValueTracker to return a ValueTrackerResult
This makes optimizeUncoalescable looks more like optimizeCoalescable and
use the CopyRewritter infrastructure.
This is also the preparation for looking up into PHI nodes in the
ValueTracker.
rdar://problem/20404526
Differential Revision: http://reviews.llvm.org/D11195
llvm-svn: 242940
Diffstat (limited to 'llvm/utils')
0 files changed, 0 insertions, 0 deletions