diff options
| author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2018-09-11 11:44:17 +0000 |
|---|---|---|
| committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2018-09-11 11:44:17 +0000 |
| commit | a58e9214ac6adc67e1a9229c7e8cea04819547a6 (patch) | |
| tree | 8d5bf7b5bab1e90fc6e961377e1f5b1b7721b03f /llvm/lib/Transforms | |
| parent | 4f3c0e27b6f5ea2d512689768ece7e23e48c79a6 (diff) | |
| download | bcm5719-llvm-a58e9214ac6adc67e1a9229c7e8cea04819547a6.tar.gz bcm5719-llvm-a58e9214ac6adc67e1a9229c7e8cea04819547a6.zip | |
[LoopInfo] Fix Loop::getLoopID() for loops with multiple latches
The previous implementation traversed all loop blocks and bailed if one
was not a latch block. Since we are only interested in latch blocks, we
should only traverse those.
llvm-svn: 341926
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

