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