Commit 76f576c
authored
[AMD] Workaround for missing support of pointer canonicalization of ifOp (#6275)
This code in ifOp conversion clearly doesn't support cases where the
origin op has multiple results because the array ref will have only 1
range:
```
rewriter.replaceOpWithMultiple(ifOp, {newIfOp.getResults()});
```
I tried to fix it for a bit but I'm not fully understand the logic of
this pass so I'm just skipping it in the unsupported case for now.1 parent 020cb91 commit 76f576c
1 file changed
Lines changed: 17 additions & 0 deletions
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
1445 | 1462 | | |
1446 | 1463 | | |
1447 | 1464 | | |
| |||
0 commit comments