Skip to content

Commit a84d52a

Browse files
committed
Fix check prefix and comment
1 parent 54bd095 commit a84d52a

File tree

2 files changed

+308
-312
lines changed

2 files changed

+308
-312
lines changed

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ SDValue RISCVSelectionDAGInfo::EmitTargetCodeForMemset(
115115
// second for the remainder:
116116
//
117117
// QC_SETWMI reg1, 16, 0(reg2)
118-
// QC_SETWMI reg1, 32-N, 64(reg2)
118+
// QC_SETWMI reg1, N, 64(reg2)
119119
//
120120
// For 33-48 words, we would like to use (16, 16, n), but that means the last
121121
// QC_SETWMI needs an offset of 128 which the instruction doesnt support.

0 commit comments

Comments
 (0)