Commit 7e6c756
committed
[NFC][Coroutines] Build DominatorTree only once before collecting frame allocas (PR58650)
Assuming that collecting frame allocas doesn't modify CFG we can safely
move DominatorTree construction outside loop and avoid expensive computations.
Differential Revision: https://reviews.llvm.org/D1408181 parent 6ee4f25 commit 7e6c756
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2609 | 2609 | | |
2610 | 2610 | | |
2611 | 2611 | | |
| 2612 | + | |
2612 | 2613 | | |
2613 | 2614 | | |
2614 | 2615 | | |
| |||
2618 | 2619 | | |
2619 | 2620 | | |
2620 | 2621 | | |
2621 | | - | |
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
| |||
0 commit comments