commit | ba86b13ad9cd6a9707a954598863da1e2a9f773b | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Tue Aug 07 06:16:46 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Tue Aug 07 06:16:46 2012 +0000 |
tree | 482ffd2aed786cddf7cce28e96075c7915155911 | |
parent | cbfce4557751acef4e7970d6e4b9583ced7e0e93 [diff] |
MachineCSE: Update the heuristics for isProfitableToCSE. If the result of a common subexpression is used at all uses of the candidate expression, CSE should not increase the live range of the common subexpression. rdar://11393714 and rdar://11819721 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161396 91177308-0d34-0410-b5e6-96231b3b80d8