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

John McIver via All-commits all-commits at lists.llvm.org
Wed Mar 19 15:29:18 PDT 2025


  Branch: refs/heads/users/jmciver/select-freeze-poison-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 7878416cd0b94021fe9bf38b020193f9246dab29
      https://github.com/llvm/llvm-project/commit/7878416cd0b94021fe9bf38b020193f9246dab29
  Author: John McIver <john.mciver.iii at gmail.com>
  Date:   2025-03-19 (Wed, 19 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