[all-commits] [llvm/llvm-project] 69ed93: [X86] X86TTIImpl::getInterleavedMemoryOpCostAVX2()...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue May 11 06:28:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69ed93a4355123a45c1d7216aea7cd53d07a361b
      https://github.com/llvm/llvm-project/commit/69ed93a4355123a45c1d7216aea7cd53d07a361b
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/interleaved-load-i8.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-store-i8.ll

  Log Message:
  -----------
  [X86] X86TTIImpl::getInterleavedMemoryOpCostAVX2(): use getMemoryOpCost()

Now that getMemoryOpCost() correctly handles all the vector variants,
we should no longer hand-roll our own version of it, but use it directly.

The AVX512 variant probably needs a similar change,
but there it is less obvious.




More information about the All-commits mailing list