This is an archive of the discontinued LLVM Phabricator instance.

LoadStoreVectorizer crashes due to unsized type
ClosedPublic

Authored by charukcs on Apr 16 2018, 4:39 PM.

Details

Summary

When we skip bitcasts while looking for GEP in LoadSoreVectorizer we should also verify that the type is sized otherwise we assert

Diff Detail

Repository
rL LLVM

Event Timeline

charukcs created this revision.Apr 16 2018, 4:39 PM

Code looks good, please fix the test.

test/CodeGen/X86/loadStore_vectorizer.ll
10

Please run the test through opt -instnamer

charukcs updated this revision to Diff 142796.Apr 17 2018, 11:47 AM

Used opt -instnamer on the test file

This revision is now accepted and ready to land.Apr 17 2018, 11:48 AM

I dont have commit privileges can someone please commit this for me. Thanks

This revision was automatically updated to reflect the committed changes.