[all-commits] [llvm/llvm-project] ca9a44: [DAG] visitORCommutative - use sd_match to reduce ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Apr 22 02:42:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca9a44ef4791931fe77d123709fa1a9d18f827fd
      https://github.com/llvm/llvm-project/commit/ca9a44ef4791931fe77d123709fa1a9d18f827fd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

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

  Log Message:
  -----------
  [DAG] visitORCommutative - use sd_match to reduce the need for commutative operand matching. NFCI.

Use sd_match to match commutative inner AND/OR/XOR node arguments instead of some messy manual matching of each commutation.



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