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 33a7de8 commit 3de48b7Copy full SHA for 3de48b7
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -252,6 +252,8 @@ bool VectorCombine::vectorizeLoadInsert(Instruction &I) {
252
uint64_t ScalarSizeInBytes = ScalarSize / 8;
253
if (auto UnalignedBytes = Offset.urem(ScalarSizeInBytes);
254
UnalignedBytes != 0) {
255
+ if (DL->isBigEndian())
256
+ return false;
257
uint64_t OldScalarSizeInBytes = ScalarSizeInBytes;
258
// Assign the greatest common divisor between UnalignedBytes and Offset to
259
// ScalarSizeInBytes
0 commit comments