This is an archive of the discontinued LLVM Phabricator instance.

InterleaveAccessPass: Avoid constructing invalid shuffle masks
ClosedPublic

Authored by MatzeB on Jan 30 2017, 5:48 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB created this revision.Jan 30 2017, 5:48 PM
mssimpso accepted this revision.Jan 31 2017, 9:01 AM

Hi Matthias,

This looks good to me. Nice find!

I think in the past there may have been some effort made to keep the ARM and AArch64 tests in sync, but having just scrutinized all the existing tests, I know this is not strictly the case anymore. So feel free to add an identical test for AArch64 if you like, but I don't think it's necessary.

This revision is now accepted and ready to land.Jan 31 2017, 9:01 AM

Hi Matthias,

This looks good to me. Nice find!

I think in the past there may have been some effort made to keep the ARM and AArch64 tests in sync, but having just scrutinized all the existing tests, I know this is not strictly the case anymore. So feel free to add an identical test for AArch64 if you like, but I don't think it's necessary.

Thanks for the review. I've added the equivalent aarch64 test as well though it probably won't buy us anything as the bug was in the generic/common code.

asbirlea accepted this revision.Jan 31 2017, 10:47 AM

LGTM.
I missed this case, thank you, Matthias!

This revision was automatically updated to reflect the committed changes.