Skip to content

Commit a41af66

Browse files
committed
fixup! [RISCV] Support Xsfvqmaccdod and Xsfvqmaccqoq extensions
1 parent c20affd commit a41af66

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ multiclass VPseudoVC_XVW<LMULInfo m, DAGOperand RS1Class,
347347

348348
multiclass VPseudoSiFiveVMACC<string mx, VReg vd_type, VReg vs2_type,
349349
string Constraint = ""> {
350-
def "Pseudo" # NAME # "_VV_" # mx : VPseudoTernaryNoMaskWithPolicy<vd_type, V_M1.vrclass, vs2_type, Constraint>;
350+
def "Pseudo" # NAME # "_VV_" # mx
351+
: VPseudoTernaryNoMaskWithPolicy<vd_type, V_M1.vrclass, vs2_type, Constraint>;
351352
}
352353

353354
multiclass VPseudoSiFiveVQMACC<string Constraint = ""> {

llvm/unittests/Support/RISCVISAInfoTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,9 @@ TEST(getTargetFeatureForExtension, RetrieveTargetFeatureFromOneExt) {
629629
}
630630

631631
TEST(RiscvExtensionsHelp, CheckExtensions) {
632+
// clang-format off
632633
std::string ExpectedOutput =
633-
R"(All available -march extensions for RISC-V
634+
R"(All available -march extensions for RISC-V
634635
635636
Name Version Description
636637
i 2.1 This is a long dummy description
@@ -757,6 +758,7 @@ Experimental extensions
757758
758759
Use -march to specify the target's extension.
759760
For example, clang -march=rv32i_v1p0)";
761+
// clang-format on
760762

761763
StringMap<StringRef> DummyMap;
762764
DummyMap["i"] = "This is a long dummy description";

0 commit comments

Comments
 (0)