[all-commits] [llvm/llvm-project] 8ebe7e: [DAGCombiner] Push freeze through SETCC and SELECT...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Mon Jul 22 07:02:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ebe7e60f50c234f5d187fcc470d92f4d2a6a925
      https://github.com/llvm/llvm-project/commit/8ebe7e60f50c234f5d187fcc470d92f4d2a6a925
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/double-convert.ll
    M llvm/test/CodeGen/RISCV/double-round-conv-sat.ll

  Log Message:
  -----------
  [DAGCombiner] Push freeze through SETCC and SELECT_CC (#64718)

Allow pushing freeze through SETCC and SELECT_CC even if there are
multiple "maybe poison" operands. In the past we have limited it to
a single "maybe poison" operand, but it seems profitable to also
allow the multiple operand scenario.

One goal here is to avoid some regressions seen in review of
  https://github.com/llvm/llvm-project/pull/84924
when solving the select->and miscompiles described in
  https://github.com/llvm/llvm-project/issues/84653



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