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 e3592da commit fbbec1dCopy full SHA for fbbec1d
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -290,6 +290,8 @@ bool VectorCombine::vectorizeLoadInsert(Instruction &I) {
290
uint64_t ScalarSizeInBytes = ScalarSize / 8;
291
if (auto UnalignedBytes = Offset.urem(ScalarSizeInBytes);
292
UnalignedBytes != 0) {
293
+ if (DL->isBigEndian())
294
+ return false;
295
uint64_t OldScalarSizeInBytes = ScalarSizeInBytes;
296
// Assign the greatest common divisor between UnalignedBytes and Offset to
297
// ScalarSizeInBytes
0 commit comments