[PATCH] D137341: [VectorCombine] widen a load with subvector insert
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 10:29:28 PST 2022
spatel added a comment.
In D137341#3912868 <https://reviews.llvm.org/D137341#3912868>, @arsenm wrote:
> CreateBitCast should be adequate. If you need to, there's stripPointerCastsSameRepresentation
Hmm...CreateBitCast crashes with:
"Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!")"
stripPointerCastsSameRepresentation() avoids the crash, but then we don't capture the expected alignment from the ptr param.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137341/new/
https://reviews.llvm.org/D137341
More information about the llvm-commits
mailing list