[all-commits] [llvm/llvm-project] 27bf45: [InstCombine] Fix poison safety of folding shuffle...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sun Nov 10 01:07:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27bf45aa36386136db179c494358670a994a98a5
      https://github.com/llvm/llvm-project/commit/27bf45aa36386136db179c494358670a994a98a5
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-11-10 (Sun, 10 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll

  Log Message:
  -----------
  [InstCombine] Fix poison safety of folding shufflevector into select (#115483)

We are allowed to fold shufflevector into select iff the condition is
guaranteed not to be poison or the RHS is a poison.
Alive2: https://alive2.llvm.org/ce/z/28zEWR

Closes https://github.com/llvm/llvm-project/issues/115465.



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