Update a comment; an artifact of merging.

This commit is contained in:
Andrew Trick
2024-12-17 09:27:49 -08:00
parent 10f13a3b13
commit 30d81c9e97

View File

@@ -61,8 +61,8 @@ let lifetimeDependenceDiagnosticsPass = FunctionPass(
if let markDep = instruction as? MarkDependenceInst, markDep.isUnresolved { if let markDep = instruction as? MarkDependenceInst, markDep.isUnresolved {
if let lifetimeDep = LifetimeDependence(markDep, context) { if let lifetimeDep = LifetimeDependence(markDep, context) {
if analyze(dependence: lifetimeDep, context) { if analyze(dependence: lifetimeDep, context) {
// Note: This promotes the mark_dependence flag but does not invalidate SIL; preserving analyses is good, // Note: This promotes the mark_dependence flag but does not invalidate analyses; preserving analyses is good,
// but the change won't appear in -sil-print-function. Ideally, we could notify context of a flag change // although the change won't appear in -sil-print-function. Ideally, we could notify context of a flag change
// without invalidating analyses. // without invalidating analyses.
lifetimeDep.resolve(context) lifetimeDep.resolve(context)
continue continue