Skip to content

Commit 36a7461

Browse files
chore: Fix formatting
1 parent 684e005 commit 36a7461

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -365,17 +365,17 @@ static SDValue getCopyFromPartsVector(SelectionDAG &DAG, const SDLoc &DL,
365365

366366
assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!");
367367
NumParts = NumRegs; // Silence a compiler warning.
368-
368+
369369
// Check if the register type matches the part type
370370
if (RegisterVT != PartVT) {
371-
diagnosePossiblyInvalidConstraint(
372-
*DAG.getContext(), V,
373-
"register type (" + EVT(RegisterVT).getEVTString() +
374-
") doesn't match operand type (" + EVT(PartVT).getEVTString() +
375-
")");
371+
diagnosePossiblyInvalidConstraint(*DAG.getContext(), V,
372+
"register type (" +
373+
EVT(RegisterVT).getEVTString() +
374+
") doesn't match operand type (" +
375+
EVT(PartVT).getEVTString() + ")");
376376
return DAG.getUNDEF(ValueVT);
377377
}
378-
378+
379379
assert(RegisterVT.getSizeInBits() ==
380380
Parts[0].getSimpleValueType().getSizeInBits() &&
381381
"Part type sizes don't match!");

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61826,7 +61826,8 @@ X86TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
6182661826
case 'y': // MMX_REGS if MMX allowed.
6182761827
if (!Subtarget.hasMMX()) break;
6182861828
// MMX registers are 64-bit only
61829-
if (VT.getSizeInBits() != 64) break;
61829+
if (VT.getSizeInBits() != 64)
61830+
break;
6183061831
return std::make_pair(0U, &X86::VR64RegClass);
6183161832
case 'v':
6183261833
case 'x': // SSE_REGS if SSE1 allowed or AVX_REGS if AVX allowed

0 commit comments

Comments
 (0)