aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitstream/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-07-03 20:15:14 +0000
committerFlorian Hahn <flo@fhahn.com>2019-07-03 20:15:14 +0000
commit78a60c762ae38f906532db4f34e4d95549e84700 (patch)
treebf846de0a18a106b21682574472d19a99d02fed4 /llvm/lib/Bitstream/Reader/BitstreamReader.cpp
parentf12b75b6a7665011c4d2a5407dea522e6adf8a1d (diff)
downloadllvm-78a60c762ae38f906532db4f34e4d95549e84700.zip
llvm-78a60c762ae38f906532db4f34e4d95549e84700.tar.gz
llvm-78a60c762ae38f906532db4f34e4d95549e84700.tar.bz2
[LoopBase] Strengthen isLoopExiting by requiring that BB must be inside the loop.
Currently isLoopExiting returns true for BBs that are not part of the loop. To avoid hiding subtle bugs, this patch adds an assertion to make sure the passed BB is inside the loop Reviewers: reames, efriedma, hfinkel, arsenm, nhaehnle Reviewed By: reames Differential Revision: https://reviews.llvm.org/D63952 llvm-svn: 365077
Diffstat (limited to 'llvm/lib/Bitstream/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions