diff options
| author | Dan Gohman <dan433584@gmail.com> | 2016-02-16 16:22:41 +0000 | 
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2016-02-16 16:22:41 +0000 | 
| commit | 442bfcec0077a9de7bd1647f3312c42226132bd2 (patch) | |
| tree | b8d1e7062d019fc70f38dcbae8a2a482c9804430 /llvm/lib/Support/FileUtilities.cpp | |
| parent | 8ae12900587ebb3590f266e48ccb0f2bf87dd378 (diff) | |
| download | bcm5719-llvm-442bfcec0077a9de7bd1647f3312c42226132bd2.tar.gz bcm5719-llvm-442bfcec0077a9de7bd1647f3312c42226132bd2.zip | |
[WebAssembly] Switch from RPO sorting to topological sorting.
WebAssembly doesn't require full RPO; topological sorting is sufficient and
can preserve more of the MachineBlockPlacement ordering. Unfortunately, this
still depends a lot on heuristics, because while we use the
MachineBlockPlacement ordering as a guide, we can't use it in places where
it isn't topologically ordered. This area will require further attention.
llvm-svn: 260978
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions

