[all-commits] [llvm/llvm-project] a96cbe: [DAGCombiner] Teach MatchContextClass classes to u...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Thu Feb 16 23:59:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a96cbeb450626c7643f2c00d6dddfd142d89eb74
      https://github.com/llvm/llvm-project/commit/a96cbeb450626c7643f2c00d6dddfd142d89eb74
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] Teach MatchContextClass classes to use TargetLowering::isOperationLegalOrCustom().

Some of TargetLowering functions needed opcodes are often used in DAGCombiner.
The patch make those MatchContextClass classes have TargetLowering members and
pass specific opcodes for those TargetLowering functions.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D144075




More information about the All-commits mailing list