summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-05-10 04:24:02 +0000
committerDan Gohman <dan433584@gmail.com>2016-05-10 04:24:02 +0000
commit0cfb5f852dcb0ffd569fd3b89790637e44cd0b23 (patch)
tree5fff6f7e6df05b823d896b4106dde4675d0ac5dc /llvm/lib/CodeGen/TargetPassConfig.cpp
parent31d19d43c79603d43c331bce2e92e5569c2ea216 (diff)
downloadbcm5719-llvm-0cfb5f852dcb0ffd569fd3b89790637e44cd0b23.tar.gz
bcm5719-llvm-0cfb5f852dcb0ffd569fd3b89790637e44cd0b23.zip
[WebAssembly] Move register stackification and coloring to a late phase.
Move the register stackification and coloring passes to run very late, after PEI, tail duplication, and most other passes. This means that all code emitted and expanded by those passes is now exposed to these passes. This also eliminates the need for prologue/epilogue code to be manually stackified, which significantly simplifies the code. This does require running LiveIntervals a second time. It's useful to think of these late passes not as late optimization passes, but as a domain-specific compression algorithm based on knowledge of liveness information. It's used to compress the code after all conventional optimizations are complete, which is why it uses LiveIntervals at a phase when actual optimization passes don't typically need it. Differential Revision: http://reviews.llvm.org/D20075 llvm-svn: 269012
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud