diff options
| author | Michael Zolotukhin <mzolotukhin@apple.com> | 2015-02-13 00:17:03 +0000 |
|---|---|---|
| committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2015-02-13 00:17:03 +0000 |
| commit | 1b4801975136a4257c9317b837a3280833e13673 (patch) | |
| tree | fb58eca083bb699b7e17c805e8545583e6b5e17d /llvm/lib/Target/Sparc | |
| parent | 186ad60815aacdb0d367a4fcf6eacd68bfe73120 (diff) | |
| download | bcm5719-llvm-1b4801975136a4257c9317b837a3280833e13673.tar.gz bcm5719-llvm-1b4801975136a4257c9317b837a3280833e13673.zip | |
Prevent division by 0.
When we try to estimate number of potentially removed instructions in
loop unroller, we analyze first N iterations and then scale the
computed number by TripCount/N. We should bail out early if N is 0.
llvm-svn: 228988
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions

