diff options
author | Michael Liao <michael.liao@intel.com> | 2014-12-23 08:26:55 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2014-12-23 08:26:55 +0000 |
commit | 5313da32638e64ec40668877b1b85f68455866e5 (patch) | |
tree | a68edc8eb0489f7debc6d76051303f6b04a572a4 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 0bf33ffde408a846ef803c7e62544ccfd50b872d (diff) | |
download | bcm5719-llvm-5313da32638e64ec40668877b1b85f68455866e5.tar.gz bcm5719-llvm-5313da32638e64ec40668877b1b85f68455866e5.zip |
[SimplifyCFG] Revise common code sinking
- Fix the case where more than 1 common instructions derived from the same
operand cannot be sunk. When a pair of value has more than 1 derived values
in both branches, only 1 derived value could be sunk.
- Replace BB1 -> (BB2, PN) map with joint value map, i.e.
map of (BB1, BB2) -> PN, which is more accurate to track common ops.
llvm-svn: 224757
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions