llvm/llvm-project
[DAG] SDPatternMatch - add m_BinOp/m_c_BinOp variants driven by TLI.isBinOp/isCommutativeBinOp
开放
#84,940 创建于 2024年3月12日
good first issuellvm:SelectionDAG
仓库指标
- 星标
- (26,378 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
As noticed on #84759 - we should be able to allow folds to generally match any binary ops that are recognized by the TLI.isBinOp/isCommutativeBinOp callbacks, allowing us to match target binops in generic dag combines.
CC @mshockwave