aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-07-12 20:55:43 +0000
committerAnna Thomas <anna@azul.com>2017-07-12 20:55:43 +0000
commit8e431a985159bfd406d6b4fd3439bc6c46c1c724 (patch)
treeab9cf9f4dc09302685b8f01222e1ad29252a5588 /llvm/lib/Support/DynamicLibrary.cpp
parentf934addc09a056e052fc5fd2ed1d885c5a743c3b (diff)
downloadllvm-8e431a985159bfd406d6b4fd3439bc6c46c1c724.zip
llvm-8e431a985159bfd406d6b4fd3439bc6c46c1c724.tar.gz
llvm-8e431a985159bfd406d6b4fd3439bc6c46c1c724.tar.bz2
[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/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions