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 21b9ca8 commit 3a3233fCopy full SHA for 3a3233f
llvm/lib/CodeGen/MachineVerifier.cpp
@@ -1276,8 +1276,10 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
1276
report("load memory size cannot exceed result size", MI);
1277
1278
if (MMO.getRanges()) {
1279
- ConstantInt *i = mdconst::extract<ConstantInt>(MMO.getRanges()->getOperand(0));
1280
- if (i->getIntegerType()->getBitWidth() != ValTy.getScalarType().getSizeInBits()) {
+ ConstantInt *i =
+ mdconst::extract<ConstantInt>(MMO.getRanges()->getOperand(0));
1281
+ if (i->getIntegerType()->getBitWidth() !=
1282
+ ValTy.getScalarType().getSizeInBits()) {
1283
report("range is incompatible with the value it gets assigned to",
1284
MI);
1285
}
0 commit comments