Commit 44a64f0
[TritonGPU] LICM outer loop before flattening (triton-lang#6010)
Ops in prologue/epilogue can't get hoisted by LICM after the loop is
flattened, so LICM the outer loop before. We still don't want to LICM
the inner loop because it can significantly increase liveranges.1 parent 4272074 commit 44a64f0
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
| 1057 | + | |
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
| |||
0 commit comments