diff options
author | David Peixotto <dpeixott@codeaurora.org> | 2014-09-26 17:48:40 +0000 |
---|---|---|
committer | David Peixotto <dpeixott@codeaurora.org> | 2014-09-26 17:48:40 +0000 |
commit | 472b05b36caa538b46f6e302c353507da4ac3bc9 (patch) | |
tree | dac50a72e860ad4cb7750ef51877755ed4e7ac87 /llvm/lib/Support/MathExtras.cpp | |
parent | acd1906446815d320fa4478b0268684734128320 (diff) | |
download | llvm-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