[all-commits] [llvm/llvm-project] 9cadc4: [DAG] SelectionDAG::canCreateUndefOrPoison - add I...

Temperz87 via All-commits all-commits at lists.llvm.org
Tue Aug 19 02:06:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cadc4e15362581e1b2a5b0216d180d181a08cfc
      https://github.com/llvm/llvm-project/commit/9cadc4e15362581e1b2a5b0216d180d181a08cfc
  Author: Temperz87 <58375877+Temperz87 at users.noreply.github.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

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

  Log Message:
  -----------
  [DAG] SelectionDAG::canCreateUndefOrPoison - add ISD::SCMP/UCMP handling + tests  (#154127)

This pr aims to resolve #152144 
In SelectionDAG::canCreateUndefOrPoison the ISD::SCMP/UCMP cases are
added to always return false as they cannot generate poison or undef
The `freeze-binary.ll` file is now testing the SCMP/UCMP cases

---------

Co-authored-by: Temperz87 <= temperz871 at gmail.com>
Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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