[all-commits] [llvm/llvm-project] 78c979: [NFC][X86][Costmodel] Add some more interleaved lo...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed May 26 11:56:26 PDT 2021


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

  Changed paths:
    M llvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-2.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-3.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-4.ll
    A llvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-5.ll
    A llvm/test/Analysis/CostModel/X86/interleaved-load-i16-stride-6.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-2.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-3.ll
    M llvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-4.ll
    A llvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-5.ll
    A llvm/test/Analysis/CostModel/X86/interleaved-store-i16-stride-6.ll

  Log Message:
  -----------
  [NFC][X86][Costmodel] Add some more interleaved load/store test with i16 element type

Not sure if even larger interleaving factors are needed,
but these are what i have seen being queried in the wild.


  Commit: ab7f26dc13f282101691370f98f3c0e4371ea12d
      https://github.com/llvm/llvm-project/commit/ab7f26dc13f282101691370f98f3c0e4371ea12d
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-2.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-4.ll
    A llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-5.ll
    A llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-2.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-3.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-4.ll
    A llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-5.ll
    A llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-6.ll

  Log Message:
  -----------
  [NFC][Codegen][X86] Add a few more interleaved load/store patterns w/ i16 element type

Matching the costmodel coverage.
We want them both because they simplify coming up with the patterns
to check their cost, and to track their codegen.

Tests for loads can be fully autogenerated: https://godbolt.org/z/o1fncqo9n
For stores, however, i have done that semi-manually: https://godbolt.org/z/KPzTnvsh1


Compare: https://github.com/llvm/llvm-project/compare/ff08c3468fa4...ab7f26dc13f2


More information about the All-commits mailing list