Skip to content

Commit b06b9a3

Browse files
committed
clang-format
1 parent 024353a commit b06b9a3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

llvm/include/llvm/Analysis/VectorUtils.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,9 @@ bool widenShuffleMaskElts(ArrayRef<int> M, SmallVectorImpl<int> &NewMask);
243243

244244
/// Attempt to narrow/widen the \p Mask shuffle mask to the \p NumDstElts target
245245
/// width. Internally this will call narrowShuffleMaskElts/widenShuffleMaskElts.
246-
/// This will assert unless NumDstElts is a multiple of Mask.size (or vice-versa).
247-
/// Returns false on failure, and ScaledMask will be in an undefined state.
246+
/// This will assert unless NumDstElts is a multiple of Mask.size (or
247+
/// vice-versa). Returns false on failure, and ScaledMask will be in an
248+
/// undefined state.
248249
bool scaleShuffleMaskElts(unsigned NumDstElts, ArrayRef<int> Mask,
249250
SmallVectorImpl<int> &ScaledMask);
250251

llvm/lib/Analysis/VectorUtils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ bool llvm::widenShuffleMaskElts(int Scale, ArrayRef<int> Mask,
481481

482482
bool llvm::widenShuffleMaskElts(ArrayRef<int> M,
483483
SmallVectorImpl<int> &NewMask) {
484-
unsigned NumElts = M.size();;
484+
unsigned NumElts = M.size();
485485
if (NumElts % 2 != 0)
486486
return false;
487487

@@ -514,7 +514,6 @@ bool llvm::widenShuffleMaskElts(ArrayRef<int> M,
514514
return true;
515515
}
516516

517-
518517
bool llvm::scaleShuffleMaskElts(unsigned NumDstElts, ArrayRef<int> Mask,
519518
SmallVectorImpl<int> &ScaledMask) {
520519
unsigned NumSrcElts = Mask.size();

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5656,7 +5656,6 @@ static SDValue lowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG,
56565656
if (SDValue V = lowerDisjointIndicesShuffle(SVN, DAG, Subtarget))
56575657
return V;
56585658

5659-
56605659
// Before hitting generic lowering fallbacks, try to widen the mask
56615660
// to a wider SEW.
56625661
if (SDValue V = tryWidenMaskForShuffle(Op, DAG))

0 commit comments

Comments
 (0)