[all-commits] [llvm/llvm-project] 54d663: [DAG] SimplifyDemandedBits - if we're only demandi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Aug 18 03:36:03 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54d663d5896008c09c938f80357e2a056454bc65
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/smax.ll
    M llvm/test/CodeGen/X86/smin.ll

  Log Message:
  [DAG] SimplifyDemandedBits - if we're only demanding the signbit, a SMIN/SMAX node can be simplified to a OR/AND node respectively.

Alive2: https://alive2.llvm.org/ce/z/MehvFB

More information about the All-commits mailing list