[all-commits] [llvm/llvm-project] 63180b: [DAG] Use SelectionDAG::getNOT helper where possib...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Mar 13 07:48:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63180ba444dc09fb9e85fdb98af56b2fc86f6027
      https://github.com/llvm/llvm-project/commit/63180ba444dc09fb9e85fdb98af56b2fc86f6027
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

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

  Log Message:
  -----------
  [DAG] Use SelectionDAG::getNOT helper where possible. NFC.


  Commit: f18d78b477c76bc09dc580cdaedd55e121f5ebf5
      https://github.com/llvm/llvm-project/commit/f18d78b477c76bc09dc580cdaedd55e121f5ebf5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

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

  Log Message:
  -----------
  [DAG] isKnownToBeAPowerOfTwo - use sd_match to match both commutations of `x & -x` pattern`. NFC.

Allows us to remove some tricky commutation matching


Compare: https://github.com/llvm/llvm-project/compare/4e49ee55c587...f18d78b477c7

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