diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-08 22:12:01 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-08 22:12:01 +0000 |
| commit | bf1ac4bdc3fc6ec0886ba79b12696f3bd414a952 (patch) | |
| tree | 4aae123599d69404cd4613923d26c33e5453c6a0 /llvm/lib/CodeGen/MachineLoopRanges.cpp | |
| parent | 6cffc1928ab734c79baa77fe1d639f90e826a19a (diff) | |
| download | bcm5719-llvm-bf1ac4bdc3fc6ec0886ba79b12696f3bd414a952.tar.gz bcm5719-llvm-bf1ac4bdc3fc6ec0886ba79b12696f3bd414a952.zip | |
Deal with irreducible control flow when building traces.
We filter out MachineLoop back-edges during the trace-building PO
traversals, but it is possible to have CFG cycles that aren't natural
loops, and MachineLoopInfo doesn't include such cycles.
Use a standard visited set to detect such CFG cycles, and completely
ignore them when picking traces.
llvm-svn: 161532
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopRanges.cpp')
0 files changed, 0 insertions, 0 deletions

