HomePhabricator

[X86] Fix bug in legalize vector types - Split large loads

Authored by aymanmus on Nov 2 2017, 6:07 AM.

Description

[X86] Fix bug in legalize vector types - Split large loads

When splitting a large load to smaller legally-typed loads, the last load should be padded to reach the size of the previous one so a CONCAT_VECTORS node could reunite them again.
The code currently pads the last load to reach the size of the first load (instead of the previous).

Differential Revision: https://reviews.llvm.org/D38495

Change-Id: Ib60b55ed26ce901fabf68108daf52683fbd5013f
llvm-svn: 317206

Details

Committed
aymanmusNov 2 2017, 6:07 AM
Differential Revision
D38495: [X86] Fix bug in legalize vector types - Split large loads
Parents
rG35cbbdd9f430: Fix clang-format CLion integration bug.
Branches
Unknown
Tags
Unknown