mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL Analysis: Rename InvalidationKind::FunctionData to InvalidationKind::Effects
This invalidation kind is used when a compute-effects pass changes function effects. Also, let optimization passes which don't change effects only invalidate the `FunctionBody` and not `Everything`.
This commit is contained in:
@@ -893,7 +893,7 @@ void EagerSpecializerTransform::run() {
|
||||
// Invalidate everything since we delete calls as well as add new
|
||||
// calls and branches.
|
||||
if (Changed) {
|
||||
invalidateAnalysis(SILAnalysis::InvalidationKind::Everything);
|
||||
invalidateAnalysis(SILAnalysis::InvalidationKind::FunctionBody);
|
||||
}
|
||||
|
||||
// As specializations are created, the non-exported attributes should be
|
||||
|
||||
Reference in New Issue
Block a user