aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorMark Heffernan <meheff@google.com>2015-07-13 18:26:27 +0000
committerMark Heffernan <meheff@google.com>2015-07-13 18:26:27 +0000
commitd7ebc24112a73b90b0cff0c7beea3dcc9cd81bdd (patch)
tree458397018da2ee0cd19899e379dfa9e549843301 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent857237ee70b8689d6c5e5976ae1873fc425cb3ad (diff)
downloadllvm-d7ebc24112a73b90b0cff0c7beea3dcc9cd81bdd.zip
llvm-d7ebc24112a73b90b0cff0c7beea3dcc9cd81bdd.tar.gz
llvm-d7ebc24112a73b90b0cff0c7beea3dcc9cd81bdd.tar.bz2
Enable runtime unrolling with unroll pragma metadata
Enable runtime unrolling for loops with unroll count metadata ("#pragma unroll N") and a runtime trip count. Also, do not unroll loops with unroll full metadata if the loop has a runtime loop count. Previously, such loops would be unrolled with a very large threshold (pragma-unroll-threshold) if runtime unrolled happened to be enabled resulting in a very large (and likely unwise) unroll factor. llvm-svn: 242047
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions