[all-commits] [llvm/llvm-project] 889588: [SLP] Refactoring isLegalBroadcastLoad() to use `E...

vporpo via All-commits all-commits at lists.llvm.org
Thu Apr 21 10:20:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889588ee978ccfde69f4846b2e05cf23a36ce13e
      https://github.com/llvm/llvm-project/commit/889588ee978ccfde69f4846b2e05cf23a36ce13e
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Refactoring isLegalBroadcastLoad() to use `ElementCount`.

Replacing `unsigned` with `ElementCount` in the argument of `isLegalBroadcastLoad()`.
This helps reduce the diff of a future SLP patch for AArch64.




More information about the All-commits mailing list