This needs to use inttoptr/ptrtoint if combining an int and pointer load.
Also an additional bitcast if merging pointers and FP types
Paths
| Differential D20705
LoadStoreVectorizer: Fix assert when merging pointer ops ClosedPublic Authored by arsenm on May 26 2016, 3:40 PM.
Details
Summary This needs to use inttoptr/ptrtoint if combining an int and pointer load. Also an additional bitcast if merging pointers and FP types
Diff Detail Event Timelinearsenm updated this object. Comment Actions Seems to work for me. Thank you! Sorry if I messed up the metadata in the other patch, phabricator is still very much a mystery to me. This revision is now accepted and ready to land.Jun 13 2016, 1:59 PM
Revision Contents
Diff 58725 lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
test/Transforms/LoadStoreVectorizer/AMDGPU/pointer-elements.ll
|
Did you mean to resolve this before submitting?