HomePhabricator

[SLP] Add test case showing a bug when dealing with padded types

Authored by bjope on Tue, Jan 12, 7:28 AM.

Description

[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.

Details

Committed
bjopeTue, Jan 12, 7:35 AM
Parents
rG2f7ec77e3cdb: [mlir][spirv] NFC: place ops in the proper file for their categories
Branches
Unknown
Tags
Unknown