[all-commits] [llvm/llvm-project] 3dfdb4: [SelectionDAG] Propagate poison in getNode with tw...

zhijian lin via All-commits all-commits at lists.llvm.org
Thu Apr 17 06:23:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dfdb4dad5da316a9de88828e9feebca99ba7ae4
      https://github.com/llvm/llvm-project/commit/3dfdb4dad5da316a9de88828e9feebca99ba7ae4
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/half.ll
    M llvm/test/CodeGen/X86/poison-ops.ll
    M llvm/test/CodeGen/X86/pr119158.ll

  Log Message:
  -----------
  [SelectionDAG] Propagate poison in getNode with two operands if the input is poison. (#135387)

Propagation to poison in function `SDValue
SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,SDValue
N1, SDValue N2, const SDNodeFlags Flags) ` if one of the input is
poison.
 
 The patch also revert the test cases
 llvm/test/CodeGen/X86/pr119158.ll
 llvm/test/CodeGen/X86/half.ll
 
which are mentioned in
https://github.com/llvm/llvm-project/pull/125883#discussion_r2021390919

---------

Co-authored-by: Amy Kwan <amy.kwan1 at ibm.com>



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