Skip to content

Commit fd143e9

Browse files
committed
Clang format
1 parent 44a01d1 commit fd143e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ SDValue RISCVSelectionDAGInfo::EmitTargetCodeForMemset(
102102
// If i8 type and constant non-zero value.
103103
if ((Src.getValueType() == MVT::i8) && !IsZeroVal)
104104
// Replicate byte to word by multiplication with 0x01010101.
105-
SrcValueReplicated = DAG.getNode(ISD::MUL, dl, MVT::i32, SrcValueReplicated,
106-
DAG.getConstant(0x01010101ul, dl, MVT::i32));
105+
SrcValueReplicated =
106+
DAG.getNode(ISD::MUL, dl, MVT::i32, SrcValueReplicated,
107+
DAG.getConstant(0x01010101ul, dl, MVT::i32));
107108

108109
// We limit a QC_SETWMI to 16 words or less to improve interruptibility.
109110
// So for 1-16 words we use a single QC_SETWMI:
@@ -127,7 +128,7 @@ SDValue RISCVSelectionDAGInfo::EmitTargetCodeForMemset(
127128
// QC_SETWMI R2, R0, N, 124
128129
//
129130
// For 48 words or more, call the target independent memset
130-
if ( NumberOfWords >= 48)
131+
if (NumberOfWords >= 48)
131132
return SDValue();
132133

133134
if (NumberOfWords <= 16) {

0 commit comments

Comments
 (0)