[all-commits] [llvm/llvm-project] 9c776c: [NFC][NewPM] Remove some AnalysisManager invalidat...
aeubanks via All-commits
all-commits at lists.llvm.org
Thu Apr 15 16:57:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c776c2fa2bdd1aa48243f9e222a76e52e055153
https://github.com/llvm/llvm-project/commit/9c776c2fa2bdd1aa48243f9e222a76e52e055153
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-04-15 (Thu, 15 Apr 2021)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Log Message:
-----------
[NFC][NewPM] Remove some AnalysisManager invalidate methods
These were misleading, they're more of a "clear" than an "invalidate".
We shouldn't be individually clearing analysis results. Either we clear
all analyses when some IR becomes invalid, or we properly go through
invalidation.
There was only one use of this, which can be simulated with
AM.invalidate(F, PA).
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D100519
More information about the All-commits
mailing list