aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-12-04 10:36:42 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-12-04 10:36:42 +0000
commitd06de4b954ca5aa25070a25e471dffc6e03051e8 (patch)
tree6d58d0faa45bf922ede87a8f4fe8938475c5776f /llvm/lib/Support/MemoryBuffer.cpp
parentbe24ab367b0a9ccaa6c1e8653524ff81320deb33 (diff)
downloadllvm-d06de4b954ca5aa25070a25e471dffc6e03051e8.zip
llvm-d06de4b954ca5aa25070a25e471dffc6e03051e8.tar.gz
llvm-d06de4b954ca5aa25070a25e471dffc6e03051e8.tar.bz2
Use DomTree in MachineSink to sink over diamonds.
According to a previous FIXME comment we now not only look at MBB successors, but also handle code sinking past them: x = computation if () {} else {} use x The instruction could be sunk over the whole diamond for the if/then/else (or loop, etc), allowing it to be sunk into other blocks after that. Modified test added in r204522, due to one spill less present. Minor fixes in comments. Patch provided by Jonas Paulsson. Reviewed by Hal Finkel. llvm-svn: 223350
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions