aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2015-05-11 21:02:34 +0000
committerDavide Italiano <davide@freebsd.org>2015-05-11 21:02:34 +0000
commit8ed0446e97ffa0016f16fc4515963c3454bd5ca3 (patch)
treeecd59a3165b875de2442561dd401adf4127e6fd1 /clang/lib/Frontend/CompilerInvocation.cpp
parent5a99ecbbb3f629a99eee4b395fc8959cb711d66f (diff)
downloadllvm-8ed0446e97ffa0016f16fc4515963c3454bd5ca3.zip
llvm-8ed0446e97ffa0016f16fc4515963c3454bd5ca3.tar.gz
llvm-8ed0446e97ffa0016f16fc4515963c3454bd5ca3.tar.bz2
[LoopIdiomRecognize] Transform backedge-taken count check into an assertion.
runOnCountable() allowed the caller to call on a loop without a predictable backedge-taken count. Change the code so that only loops with computable backdge-count can call this function, in order to catch abuses. llvm-svn: 237044
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions