This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Make vector dup optimization look at last elt of ZeroVec
ClosedPublic

Authored by paquette on Jul 23 2019, 2:34 PM.

Details

Summary

Fix an off-by-one error which made us not look at the last element of the zero vector. This caused a miscompile on 188.ammp.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Jul 23 2019, 2:34 PM
aemerson accepted this revision.Jul 23 2019, 2:37 PM

LGTM.

This revision is now accepted and ready to land.Jul 23 2019, 2:37 PM
This revision was automatically updated to reflect the committed changes.