Commit 85aebdb
committed
[CIR] Fix lowering after 2929a29
- After 2929a29,
`ConversionPatternRewriter::replaceAllUsesWith` behavior is changed
from the previous immediate mode into a delayed fashion. The legacy
operation of `replaceAllUsesWith` followed by `eraseOp` is no longer
working, replace that sequence with `replaceOp`.1 parent b405d46 commit 85aebdb
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | | - | |
1359 | | - | |
| 1358 | + | |
1360 | 1359 | | |
1361 | 1360 | | |
1362 | 1361 | | |
| |||
2653 | 2652 | | |
2654 | 2653 | | |
2655 | 2654 | | |
2656 | | - | |
2657 | | - | |
| 2655 | + | |
2658 | 2656 | | |
2659 | 2657 | | |
2660 | 2658 | | |
| |||
0 commit comments