Commit 2fab6db
authored
[VectorCombine] foldSelectShuffle - remove extra adds of old shuffles to worklist (llvm#127999)
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 52ded67 commit 2fab6db
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