diff options
| author | Anna Thomas <anna@azul.com> | 2017-07-12 20:55:43 +0000 |
|---|---|---|
| committer | Anna Thomas <anna@azul.com> | 2017-07-12 20:55:43 +0000 |
| commit | 8e431a985159bfd406d6b4fd3439bc6c46c1c724 (patch) | |
| tree | ab9cf9f4dc09302685b8f01222e1ad29252a5588 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | f934addc09a056e052fc5fd2ed1d885c5a743c3b (diff) | |
| download | bcm5719-llvm-8e431a985159bfd406d6b4fd3439bc6c46c1c724.tar.gz bcm5719-llvm-8e431a985159bfd406d6b4fd3439bc6c46c1c724.zip | |
[LoopUnrollRuntime] NFC: Refactored safety checks of unrolling multi-exit loop
Refactored the code and separated out a function
`canSafelyUnrollMultiExitLoop` to reduce redundant checks and make it
easier to add profitability heuristics later.
Added tests to runtime unrolling to make sure that unrolling for
multi-exit loops is not done unless the option
-unroll-runtime-multi-exit is true.
llvm-svn: 307843
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions

