[all-commits] [llvm/llvm-project] b1f9e8: [InstCombine] Enable select freeze poison folding ...

John McIver via All-commits all-commits at lists.llvm.org
Thu Mar 13 22:36:41 PDT 2025


  Branch: refs/heads/users/jmciver/select-freeze-poison-2
  Home:   https://github.com/llvm/llvm-project
  Commit: b1f9e87a8a1dc3b9439fb7b15be0c92e2f36fc0c
      https://github.com/llvm/llvm-project/commit/b1f9e87a8a1dc3b9439fb7b15be0c92e2f36fc0c
  Author: John McIver <john.mciver.iii at gmail.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/freeze-phi.ll
    M llvm/test/Transforms/InstCombine/freeze.ll
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Enable select freeze poison folding when storing value

The non-freeze poison argument to select can be one of the following: global,
constant, and noundef arguments.

Alive2 test validation:
- https://alive2.llvm.org/ce/z/jbtCS6
- https://alive2.llvm.org/ce/z/YFA-5S

Refactor replacement of poison elements in constant vectors to use the first
non-poison element.



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