Commit 328c5c9
committed
[VectorCombine] foldSelectShuffle - remove extra adds of old shuffles to worklist
We already push the old shuffles to the worklist as part of the replaceValue calls, so we shouldn't need to add them to the deferred list as well - my guess is this was to ensure that the instructions got erased first to help cleanup unused instructions, but eraseInstruction should handle this now.1 parent 505d35a commit 328c5c9
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
3039 | | - | |
3040 | | - | |
3041 | 3039 | | |
3042 | 3040 | | |
3043 | 3041 | | |
| |||
0 commit comments