Skip to content

Commit 1549609

Browse files
committed
clang-format
1 parent 1a890c5 commit 1549609

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

llvm/lib/Target/RISCV/RISCVInterleavedAccess.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ static bool isMultipleOfN(const Value *V, const DataLayout &DL, unsigned N) {
103103
}
104104

105105
/// Do the common operand retrieval and validition required by the
106-
/// routines below.
107-
static bool getMemOperands(unsigned Factor,
108-
VectorType *VTy, Type *XLenTy,
106+
/// routines below.
107+
static bool getMemOperands(unsigned Factor, VectorType *VTy, Type *XLenTy,
109108
Instruction *I, Value *&Ptr, Value *&Mask,
110109
Value *&VL, Align &Alignment) {
111110

@@ -178,8 +177,7 @@ bool RISCVTargetLowering::lowerInterleavedLoad(
178177

179178
Value *Ptr, *VL;
180179
Align Alignment;
181-
if (!getMemOperands(Factor, VTy, XLenTy, Load, Ptr, Mask, VL,
182-
Alignment))
180+
if (!getMemOperands(Factor, VTy, XLenTy, Load, Ptr, Mask, VL, Alignment))
183181
return false;
184182

185183
Type *PtrTy = Ptr->getType();
@@ -324,8 +322,7 @@ bool RISCVTargetLowering::lowerDeinterleaveIntrinsicToLoad(
324322

325323
Value *Ptr, *VL;
326324
Align Alignment;
327-
if (!getMemOperands(Factor, ResVTy, XLenTy, Load, Ptr, Mask, VL,
328-
Alignment))
325+
if (!getMemOperands(Factor, ResVTy, XLenTy, Load, Ptr, Mask, VL, Alignment))
329326
return false;
330327

331328
Type *PtrTy = Ptr->getType();
@@ -388,8 +385,7 @@ bool RISCVTargetLowering::lowerInterleaveIntrinsicToStore(
388385

389386
Value *Ptr, *VL;
390387
Align Alignment;
391-
if (!getMemOperands(Factor, InVTy, XLenTy, Store, Ptr, Mask, VL,
392-
Alignment))
388+
if (!getMemOperands(Factor, InVTy, XLenTy, Store, Ptr, Mask, VL, Alignment))
393389
return false;
394390
Type *PtrTy = Ptr->getType();
395391
unsigned AS = Ptr->getType()->getPointerAddressSpace();

0 commit comments

Comments
 (0)