[NFC] Use proper getSliceAlign type in SROA

This commit is contained in:
Guillaume Chatelet 2022-06-10 12:36:40 +00:00
parent 6fedc6a2b4
commit 12ccdd67aa

View File

@ -2886,7 +2886,7 @@ private:
assert((IsDest && II.getRawDest() == OldPtr) ||
(!IsDest && II.getRawSource() == OldPtr));
MaybeAlign SliceAlign = getSliceAlign();
Align SliceAlign = getSliceAlign();
// For unsplit intrinsics, we simply modify the source and destination
// pointers in place. This isn't just an optimization, it is a matter of