diff options
author | serge-sans-paille <sguelton@redhat.com> | 2020-06-26 15:23:05 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2020-06-26 15:49:27 +0200 |
commit | 44f06db43941749b631756ff13cf7e8f7b2903fe (patch) | |
tree | 7e7f18785a9d079a720c385b7e38a675f0debe46 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 0069824feab0af5ade571d975deb1efd893c2466 (diff) | |
download | llvm-44f06db43941749b631756ff13cf7e8f7b2903fe.zip llvm-44f06db43941749b631756ff13cf7e8f7b2903fe.tar.gz llvm-44f06db43941749b631756ff13cf7e8f7b2903fe.tar.bz2 |
Fix pass return status for loop extractor
As loop extractor has a dependency on another pass (namely BreakCriticalEdges)
that may update the IR, use the getAnalysis version introduced in
55fe7b79bb7fab49af3720840224c0720bdb03c6 to carry that change.
Add an assert in getAnalysisID to make sure no other changed status is missed -
according to validation this was the only one.
Related to https://reviews.llvm.org/D80916
Differential Revision: https://reviews.llvm.org/D81236
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions