[PATCH] D32101: Skip bitcasts while looking for GEP in LoadStoreVectorizer
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 13:38:55 PDT 2017
arsenm added a comment.
In https://reviews.llvm.org/D32101#729486, @rampitec wrote:
> In https://reviews.llvm.org/D32101#729447, @arsenm wrote:
>
> > Can you add a test with bitcasts between pointers with different element types? I thought the or problem was also supposed to be solved
>
>
> Matt, what do you exactly mean by pointers with different element types? They are different in this test, float vs i32.
I meant type sizes. float and i32 are both 4 bytes, I could see something going wrong if later code relied on this assumption if the source type were i8 for example
Repository:
rL LLVM
https://reviews.llvm.org/D32101
More information about the llvm-commits
mailing list