diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2017-07-20 03:27:02 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2017-07-20 03:27:02 +0000 |
| commit | e6bb895ab5359dd37ef06cb6d6cefb9218b33ef8 (patch) | |
| tree | 7c4cec9367ce97af3ecd4a4a4711e0c14b8d7972 /clang/lib/Basic/VirtualFileSystem.cpp | |
| parent | 185b2e3d32f7dcd6de88b6b524bc8fabb540f8b5 (diff) | |
| download | llvm-e6bb895ab5359dd37ef06cb6d6cefb9218b33ef8.zip llvm-e6bb895ab5359dd37ef06cb6d6cefb9218b33ef8.tar.gz llvm-e6bb895ab5359dd37ef06cb6d6cefb9218b33ef8.tar.bz2 | |
[LICM] Make sinkRegion and hoistRegion non-recursive
Large CFGs can cause us to blow up the stack because we would have a
recursive step for each basic block in a region.
Instead, create a worklist and iterate it. This limits the stack usage
to something more manageable.
Differential Revision: https://reviews.llvm.org/D35609
llvm-svn: 308582
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
