Commit d54a007
committed
[MLIR][LivenessAnalysis] Treat a public function as an external
This change treats a public function as an external function in the
inter-procedural liveness analysis. This prohibits NonLive arguments
from propagating to caller. RemoveDeadValues deletes unused values based
on the results of liveness Analysis. On the other side, it can not
change the signature of a public function.1 parent 6634148 commit d54a007
File tree
3 files changed
+10
-3
lines changed- mlir
- include/mlir/Analysis/DataFlow
- lib/Analysis/DataFlow
3 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
508 | 513 | | |
509 | 514 | | |
510 | 515 | | |
511 | 516 | | |
| 517 | + | |
| 518 | + | |
512 | 519 | | |
513 | | - | |
| 520 | + | |
514 | 521 | | |
515 | 522 | | |
516 | 523 | | |
| |||
0 commit comments