[all-commits] [llvm/llvm-project] e74520: [DAG] canCreateUndefOrPoison - add handling for IS...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jul 15 01:31:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e74520fae690392f43936bb3c4c02b0ba088ccfa
      https://github.com/llvm/llvm-project/commit/e74520fae690392f43936bb3c4c02b0ba088ccfa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/freeze-unary.ll

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - add handling for ISD::ABS nodes (#148791)

Unlike the abs intrinsic, the ISD::ABS node defines ABS(INT_MIN) -> INT_MIN, so no undef/poison is created by the node itself



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