[all-commits] [llvm/llvm-project] 11aa95: [DAG] visitSUB - pull out repeated getScalarSizeIn...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Mar 21 02:56:21 PDT 2024


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

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

  Log Message:
  -----------
  [DAG] visitSUB - pull out repeated getScalarSizeInBits() calls. NFC.


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

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

  Log Message:
  -----------
  [DAG] visitSUB - use sd_match to match SUB(MAX,MIN) -> ABD pattern. NFC.

Seriously simplifies the commutation matching logic.


Compare: https://github.com/llvm/llvm-project/compare/a6a9215b93bc...23de3862dce5

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