Skip to content

Commit

Permalink
Refactor optimizeUncoalescable logic
Browse files Browse the repository at this point in the history
- 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.

Differential Revision: http://reviews.llvm.org/D11195

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242294 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
bcardosolopes committed Jul 15, 2015
1 parent 9226c07 commit 7c72a22
Showing 1 changed file with 246 additions and 127 deletions.
Loading

0 comments on commit 7c72a22

Please sign in to comment.