[all-commits] [llvm/llvm-project] fb6038: [DAG] isKnownNeverZero - add ISD::SRA/SRL Demanded...
Pranshu Goyal via All-commits
all-commits at lists.llvm.org
Mon Mar 2 10:50:52 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb6038d93781bd051a0c0641c4ab5229de62a92b
https://github.com/llvm/llvm-project/commit/fb6038d93781bd051a0c0641c4ab5229de62a92b
Author: Pranshu Goyal <78131793+pranshoe at users.noreply.github.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/known-never-zero.ll
Log Message:
-----------
[DAG] isKnownNeverZero - add ISD::SRA/SRL DemandedElts handling and tests (#183577)
This patch updates `SelectionDAG::isKnownNeverZero` to support
`ISD::SRA`/`ISD::SRL` by forwarding the `DemandedElts` mask to its
operands.
Fixes #183046
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