[all-commits] [llvm/llvm-project] 670c25: [DAG] Use DAGCombiner::SimplifyDemandedBits wrappe...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Feb 7 03:12:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 670c2529bb97f53a5b73e1eedb736ac6e070e1d9
      https://github.com/llvm/llvm-project/commit/670c2529bb97f53a5b73e1eedb736ac6e070e1d9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

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

  Log Message:
  -----------
  [DAG] Use DAGCombiner::SimplifyDemandedBits wrappers with default (all) DemandedElts. NFC.

Don't call TLI.SimplifyDemandedVectorElts directly from every SimplifyDemandedBits call, use the more expressive wrappers instead first.

This reduces the number of places we call TLI.SimplifyDemandedVectorElts and CommitTargetLoweringOpt to make it easier to track.

Part of the work to process DAG nodes in topological order.


  Commit: c2a91d4a33af49cd77c6d6ec731ae25538f746b8
      https://github.com/llvm/llvm-project/commit/c2a91d4a33af49cd77c6d6ec731ae25538f746b8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-movmsk-avx.ll

  Log Message:
  -----------
  [X86] combine-movmsk-avx.ll - add full AVX1/AVX2 VTEST/MOVMSK test coverage

Test all combos of avx1/avx2 and prefer-movmsk-over-vtest


Compare: https://github.com/llvm/llvm-project/compare/7760006d8d39...c2a91d4a33af


More information about the All-commits mailing list