[SROA] Don't shrink volatile load past end
For volatile atomic, this may result in a verifier errors, if the new alloca type is not legal for atomic accesses. I've opted to disable this special case for volatile accesses in general, as changing the size of the volatile access seems dubious in any case. Fixes https://github.com/llvm/llvm-project/issues/64721.
Loading
Please sign in to comment