Skip to content

Commit 3a3233f

Browse files
committed
Formatting
1 parent 21b9ca8 commit 3a3233f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/CodeGen/MachineVerifier.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,10 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
12761276
report("load memory size cannot exceed result size", MI);
12771277

12781278
if (MMO.getRanges()) {
1279-
ConstantInt *i = mdconst::extract<ConstantInt>(MMO.getRanges()->getOperand(0));
1280-
if (i->getIntegerType()->getBitWidth() != ValTy.getScalarType().getSizeInBits()) {
1279+
ConstantInt *i =
1280+
mdconst::extract<ConstantInt>(MMO.getRanges()->getOperand(0));
1281+
if (i->getIntegerType()->getBitWidth() !=
1282+
ValTy.getScalarType().getSizeInBits()) {
12811283
report("range is incompatible with the value it gets assigned to",
12821284
MI);
12831285
}

0 commit comments

Comments
 (0)