diff options
author | Kristof Umann <dkszelethus@gmail.com> | 2019-07-05 09:52:00 +0000 |
---|---|---|
committer | Kristof Umann <dkszelethus@gmail.com> | 2019-07-05 09:52:00 +0000 |
commit | d5c9d9b6820f269f105ac278ba26d040630fe901 (patch) | |
tree | daede4e4d2277e433a17ce6bc0e9f5d8a8387e32 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | bb7e97d783efae225c97758f2ff186436ac8d86d (diff) | |
download | llvm-d5c9d9b6820f269f105ac278ba26d040630fe901.zip llvm-d5c9d9b6820f269f105ac278ba26d040630fe901.tar.gz llvm-d5c9d9b6820f269f105ac278ba26d040630fe901.tar.bz2 |
[CFG] Add a new function to get the proper condition of a CFGBlock
getTerminatorCondition() returned a condition that may be outside of the
block, while the new function returns the proper one:
if (A && B && C) {}
Return C instead of A && B && C.
Differential Revision: https://reviews.llvm.org/D63538
llvm-svn: 365177
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions