[all-commits] [llvm/llvm-project] dd07d6: [SLP] Add test case showing a bug when dealing wit...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Tue Jan 12 07:36:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd07d60ec33969ae4f1e37500bb852563e142dfb
      https://github.com/llvm/llvm-project/commit/dd07d60ec33969ae4f1e37500bb852563e142dfb
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/SLPVectorizer/X86/bad_types.ll

  Log Message:
  -----------
  [SLP] Add test case showing a bug when dealing with padded types

We shouldn't vectorize stores of non-packed types (i.e. types that
has padding between consecutive variables in a scalar layout,
but being packed in a vector layout).

The problem was detected as a miscompile in a downstream test case.

This is a pre-commit of a test case for the fix in D94446.




More information about the All-commits mailing list