Commit a9ccbac
[release/3.4] "[AMD] guard FoldTrueCmpI from tensors (triton-lang#7281)" (triton-lang#7342)
Cherry-pick of 7281, original description:
I made a mistake and didn't check the input/output types of the
arith.cmpi so in some cases FoldTrueCmpI might fold tensors (e.g.,
masks). So we should guard against that.
Co-authored-by: Maksim Levental <[email protected]>1 parent dab5917 commit a9ccbac
File tree
2 files changed
+21
-1
lines changed- test/TritonGPU/amd
- third_party/amd/lib/Analysis
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| |||
0 commit comments