aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorDavid Peixotto <dpeixott@codeaurora.org>2014-09-26 17:48:40 +0000
committerDavid Peixotto <dpeixott@codeaurora.org>2014-09-26 17:48:40 +0000
commit472b05b36caa538b46f6e302c353507da4ac3bc9 (patch)
treedac50a72e860ad4cb7750ef51877755ed4e7ac87 /llvm/lib/Support/MathExtras.cpp
parentacd1906446815d320fa4478b0268684734128320 (diff)
downloadllvm-472b05b36caa538b46f6e302c353507da4ac3bc9.zip
llvm-472b05b36caa538b46f6e302c353507da4ac3bc9.tar.gz
llvm-472b05b36caa538b46f6e302c353507da4ac3bc9.tar.bz2
Ignore annotation function calls in cost computation
The annotation instructions are dropped during codegen and have no impact on size. In some cases, the annotations were preventing the unroller from unrolling a loop because the annotation calls were pushing the cost over the unrolling threshold. Differential Revision: http://reviews.llvm.org/D5335 llvm-svn: 218525
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions