[VectorCombine] Use constant range info for index scalarization legality.
We can only scalarize memory accesses if we know the index is valid. This patch adjusts canScalarizeAcceess to fall back to computeConstantRange to check if the index is known to be valid. Reviewed By: nlopes Differential Revision: https://reviews.llvm.org/D102476
parent
9b99336d
Please register or sign in to comment