[all-commits] [llvm/llvm-project] 95606a: [VectorCombine] Add tests for #67060 (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 05:18:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95606a58c15e19fab3a65c5bb3f69cd6365c8555
      https://github.com/llvm/llvm-project/commit/95606a58c15e19fab3a65c5bb3f69cd6365c8555
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
    M llvm/test/Transforms/VectorCombine/load-insert-store.ll

  Log Message:
  -----------
  [VectorCombine] Add tests for #67060 (NFC)


  Commit: 3b8239796522f8e51483760c4a531bc64fa8ad69
      https://github.com/llvm/llvm-project/commit/3b8239796522f8e51483760c4a531bc64fa8ad69
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
    M llvm/test/Transforms/VectorCombine/load-insert-store.ll

  Log Message:
  -----------
  [VectorCombine] Check for non-byte-sized element type

We should check whether the element type is non-byte-sized, not
the vector type. For types like <32 x i1> the whole type is
byte-sized, but the individual elements (that we scalarize to)
are not.

Fixes https://github.com/llvm/llvm-project/issues/67060.


Compare: https://github.com/llvm/llvm-project/compare/01aa0c776dd8...3b8239796522


More information about the All-commits mailing list