aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2017-09-04 05:56:36 +0000
committerRaphael Isemann <teemperor@gmail.com>2017-09-04 05:56:36 +0000
commit561f0de6d96eff6efc53e6e8b07bc9408304b381 (patch)
tree0596804573054c4cd9ddfbdc3a8db6c274fbc25f /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentdd8b5337e9da480640598008de6211dab68c20dc (diff)
downloadllvm-561f0de6d96eff6efc53e6e8b07bc9408304b381.zip
llvm-561f0de6d96eff6efc53e6e8b07bc9408304b381.tar.gz
llvm-561f0de6d96eff6efc53e6e8b07bc9408304b381.tar.bz2
[analyzer] Increase minimum complexity filter of the CloneChecker.
Summary: So far we used a value of 10 which was useful for testing but produces many false-positives in real programs. The usual suspicious clones we find seem to be at around a complexity value of 70 and for normal clone-reporting everything above 50 seems to be a valid normal clone for users, so let's just go with 50 for now and set this as the new default value. This patch also explicitly sets the complexity value for the regression tests as they serve more of a regression testing/debugging purpose and shouldn't really be reported by default in real programs. I'll add more tests that reflect actual found bugs that then need to pass with the default setting in the future. Reviewers: NoQ Subscribers: cfe-commits, javed.absar, xazax.hun, v.g.vassilev Differential Revision: https://reviews.llvm.org/D34178 llvm-svn: 312468
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions