[all-commits] [llvm/llvm-project] 7392a5: [InstCombine] Treat identical operands as one in p...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Wed Jul 16 05:36:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7392a546bb34c6fe569e30341138bb70115ca905
      https://github.com/llvm/llvm-project/commit/7392a546bb34c6fe569e30341138bb70115ca905
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

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

  Log Message:
  -----------
  [InstCombine] Treat identical operands as one in pushFreezeToPreventPoisonFromPropagating (#145348)

To push a freeze through an instruction, only one operand may produce
poison. However, this currently fails for identical operands which are
treated as separate. This patch fixes this by treating them as a single
operand.



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