We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec5357 commit 054c1f4Copy full SHA for 054c1f4
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -279,8 +279,7 @@ bool VectorCombine::vectorizeLoadInsert(Instruction &I) {
279
// element's size; otherwise, Offset and Scalar must be shuffled to the
280
// appropriate element size for both.
281
uint64_t ScalarSizeInBytes = ScalarSize / 8;
282
- if (auto UnalignedBytes = Offset.urem(ScalarSizeInBytes);
283
- UnalignedBytes != 0) {
+ if (auto UnalignedBytes = Offset.urem(ScalarSizeInBytes)) {
284
if (DL->isBigEndian())
285
return false;
286
uint64_t OldScalarSizeInBytes = ScalarSizeInBytes;
0 commit comments