[all-commits] [llvm/llvm-project] 529508: [DAG] canCreateUndefOrPoison - add handling for CT...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 30 09:48:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 529508c187e948f5bb73af9ee8207f706899bdb4
      https://github.com/llvm/llvm-project/commit/529508c187e948f5bb73af9ee8207f706899bdb4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-06-30 (Mon, 30 Jun 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 CTTZ/CTLZ nodes (#146361)

ISD::CTTZ/CTLZ nodes handle all input values and do not create undef/poison.

The *_ZERO_UNDEF variants will be handled in a future patch.



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