summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/EdgeBundles.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 /llvm/lib/CodeGen/EdgeBundles.cpp
parent5a99ecbbb3f629a99eee4b395fc8959cb711d66f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud