diff options
author | Davide Italiano <davide@freebsd.org> | 2015-05-11 21:02:34 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2015-05-11 21:02:34 +0000 |
commit | 8ed0446e97ffa0016f16fc4515963c3454bd5ca3 (patch) | |
tree | ecd59a3165b875de2442561dd401adf4127e6fd1 /llvm/lib/CodeGen/EdgeBundles.cpp | |
parent | 5a99ecbbb3f629a99eee4b395fc8959cb711d66f (diff) | |
download | bcm5719-llvm-8ed0446e97ffa0016f16fc4515963c3454bd5ca3.tar.gz bcm5719-llvm-8ed0446e97ffa0016f16fc4515963c3454bd5ca3.zip |
[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 'llvm/lib/CodeGen/EdgeBundles.cpp')
0 files changed, 0 insertions, 0 deletions