[all-commits] [llvm/llvm-project] 7c30c0: [DAG] visitVECTOR_SHUFFLE - MergeInnerShuffle - re...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 14 03:55:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c30c05ff71d062f0b8a05b7c3c12ede2c285371
      https://github.com/llvm/llvm-project/commit/7c30c05ff71d062f0b8a05b7c3c12ede2c285371
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

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

  Log Message:
  -----------
  [DAG] visitVECTOR_SHUFFLE - MergeInnerShuffle - reset shuffle ops and reorder early-out and second op matching. NFCI.

I'm hoping to reuse MergeInnerShuffle in some other folds - so ensure the candidate ops/mask are reset at the start of each run.

Also, move the second op matching before bailing to make it simpler to try to match other things afterward.




More information about the All-commits mailing list