aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorKevin Qin <Kevin.Qin@arm.com>2015-03-09 06:14:18 +0000
committerKevin Qin <Kevin.Qin@arm.com>2015-03-09 06:14:18 +0000
commit715b01e979aad41b1138fb21ed08601cc328159e (patch)
treee94181ffb54384be103433ccd339e37f2d4c5b93 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parenta998735def5f04459fa6cbeaaffbb42f1a1dec5c (diff)
downloadllvm-715b01e979aad41b1138fb21ed08601cc328159e.zip
llvm-715b01e979aad41b1138fb21ed08601cc328159e.tar.gz
llvm-715b01e979aad41b1138fb21ed08601cc328159e.tar.bz2
Introduce runtime unrolling disable matadata and use it to mark the scalar loop from vectorization.
Runtime unrolling is an expensive optimization which can bring benefit only if the loop is hot and iteration number is relatively large enough. For some loops, we know they are not worth to be runtime unrolled. The scalar loop from vectorization is one of the cases. llvm-svn: 231631
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions