[all-commits] [llvm/llvm-project] b5f647: [SLP]Allow masked gathers only if allowed by target.

cilkplus via All-commits all-commits at lists.llvm.org
Mon May 3 07:05:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5f64768cfeecca16c7c9c53cbd97ac7289c43aa
      https://github.com/llvm/llvm-project/commit/b5f64768cfeecca16c7c9c53cbd97ac7289c43aa
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/pr47629.ll
    M llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll

  Log Message:
  -----------
  [SLP]Allow masked gathers only if allowed by target.

Need to check if target allows/supports masked gathers before trying to
estimate its cost, otherwise we may fail to vectorize some of the
patterns because of too pessimistic cost model.

Part of D57059.

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




More information about the All-commits mailing list