[all-commits] [llvm/llvm-project] f522be: [SLP][NFC] Make buildShuffleEntryMask routine a Tr...

Valery Dmitriev via All-commits all-commits at lists.llvm.org
Wed Aug 9 13:50:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f522be63bcdc8498419cc26ef1e6258f547c3ba4
      https://github.com/llvm/llvm-project/commit/f522be63bcdc8498419cc26ef1e6258f547c3ba4
  Author: Valery N Dmitriev <valery.n.dmitriev at intel.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC] Make buildShuffleEntryMask routine a TreeEntry method.

The routine uses data stored at TreeEntry node for building a mask
so it is natural to make it a method for the type. That will simplify
its interface and reduces data transfer.
The method is added as buildAltOpShuffleMask.

Differential Revision: https://reviews.llvm.org/D157545




More information about the All-commits mailing list