[PATCH] D35498: [LoopVectorizer] Use two step casting for float to pointer type.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 12:50:54 PDT 2017


rengolin added a comment.

Setting aside from the fact that no one should ever be casting floating point to pointers, perhaps we shouldn't be even trying to do this transformation here, as I'm not sure this could have a guaranteed semantics in this case, and probably better to just bail the vectorisation?

Also, tests, etc. please.


https://reviews.llvm.org/D35498





More information about the llvm-commits mailing list