[all-commits] [llvm/llvm-project] 2fab6d: [VectorCombine] foldSelectShuffle - remove extra a...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Feb 20 10:02:58 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fab6db72811e52cf18d172caf243e22f8bd3851
      https://github.com/llvm/llvm-project/commit/2fab6db72811e52cf18d172caf243e22f8bd3851
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [VectorCombine] foldSelectShuffle - remove extra adds of old shuffles to worklist (#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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list