diff options
Diffstat (limited to 'src/ir/localize.h')
-rw-r--r-- | src/ir/localize.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/localize.h b/src/ir/localize.h index 85e4415f5..b36fe6396 100644 --- a/src/ir/localize.h +++ b/src/ir/localize.h @@ -130,6 +130,8 @@ struct ChildLocalizer { // effects we can't remove, or if it interacts with other children. bool needLocal = effects[i].hasUnremovableSideEffects(); if (!needLocal) { + // TODO: Avoid quadratic time here by accumulating effects and checking + // vs the accumulation. for (Index j = 0; j < num; j++) { if (j != i && effects[i].invalidates(effects[j])) { needLocal = true; |