[NFC][Alignment] Use getAlign in VNCoercion

This commit is contained in:
Guillaume Chatelet 2022-06-13 14:48:59 +00:00
parent dff32e36f6
commit 2887dd754e
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ static unsigned getLoadLoadClobberFullWidthSize(const Value *MemLocBase,
// looking at an i8 load on x86-32 that is known 1024 byte aligned, we can
// widen it up to an i32 load. If it is known 2-byte aligned, we can widen it
// to i16.
unsigned LoadAlign = LI->getAlignment();
unsigned LoadAlign = LI->getAlign().value();
int64_t MemLocEnd = MemLocOffs + MemLocSize;