[all-commits] [llvm/llvm-project] 94d55b: [SelectionDAG] Handle constants in SimplifyMultipl...

Harrison Hao via All-commits all-commits at lists.llvm.org
Thu Sep 24 18:39:10 PDT 2026


  Branch: refs/heads/users/harrisonGPU/dag-constant-zero
  Home:   https://github.com/llvm/llvm-project
  Commit: 94d55b383e164bae642b3843e77415dcbfe5964d
      https://github.com/llvm/llvm-project/commit/94d55b383e164bae642b3843e77415dcbfe5964d
  Author: Harrison Hao <tsworld1314 at gmail.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mul.i24.ll
    M llvm/test/CodeGen/AMDGPU/rotate-add.ll
    M llvm/test/CodeGen/AMDGPU/rotl.ll
    M llvm/test/CodeGen/AVR/issue-132203.ll
    M llvm/test/CodeGen/Mips/rotate.ll
    M llvm/test/CodeGen/PowerPC/ppc-rotate-clear.ll
    M llvm/test/CodeGen/PowerPC/rotl-2.ll
    M llvm/test/CodeGen/SystemZ/shift-04.ll
    M llvm/test/CodeGen/SystemZ/shift-08.ll

  Log Message:
  -----------
  [SelectionDAG] Handle constants in SimplifyMultipleUseDemandedBits

Replace a non-zero constant with zero when none of its set bits are
demanded.

This allows users of `SimplifyMultipleUseDemandedBits` to eliminate
irrelevant constant bits while preserving the convention that a null
SDValue indicates no simplification.



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