Skip to content

Commit dd11d24

Browse files
committed
Fix format
1 parent a02ef9d commit dd11d24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXAndes.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,25 +568,25 @@ def NDS_VD4DOTSU_VV : NDSRVInstVD4DOT<0b000101, "nds.vd4dotsu">;
568568
//===----------------------------------------------------------------------===//
569569

570570
class NDS_BBPat<CondCode Cond, NDSRVInstBB Inst>
571-
: Pat<(riscv_brcc(and(XLenVT GPR:$rs1), PowerOf2:$mask), 0, Cond,
571+
: Pat<(riscv_brcc (and(XLenVT GPR:$rs1), PowerOf2:$mask), 0, Cond,
572572
bb:$imm10),
573573
(Inst GPR:$rs1, (Log2 PowerOf2:$mask), bare_simm11_lsb0:$imm10)>;
574574

575575
class NDS_BCPat<CondCode Cond, NDSRVInstBC Inst>
576-
: Pat<(riscv_brcc(XLenVT GPR:$rs1), uimm7:$cimm, Cond, bb:$imm10),
576+
: Pat<(riscv_brcc (XLenVT GPR:$rs1), uimm7:$cimm, Cond, bb:$imm10),
577577
(Inst GPR:$rs1, uimm7:$cimm, bare_simm11_lsb0:$imm10)>;
578578

579579
defm CC_UImmLog2XLen_NDS : SelectCC_GPR_riirr<GPR, uimmlog2xlen>;
580580
defm CC_UImm7_NDS : SelectCC_GPR_riirr<GPR, uimm7>;
581581

582582
class SelectNDS_BB<CondCode Cond>
583-
: Pat<(riscv_selectcc_frag:$cc(and(XLenVT GPR:$lhs), PowerOf2:$mask), 0,
583+
: Pat<(riscv_selectcc_frag:$cc (and(XLenVT GPR:$lhs), PowerOf2:$mask), 0,
584584
Cond, (XLenVT GPR:$truev), GPR:$falsev),
585585
(Select_GPR_Using_CC_UImmLog2XLen_NDS GPR:$lhs, (Log2 PowerOf2:$mask),
586586
(IntCCtoRISCVCC $cc), GPR:$truev, GPR:$falsev)>;
587587

588588
class SelectNDS_BC<CondCode Cond>
589-
: Pat<(riscv_selectcc_frag:$cc(XLenVT GPR:$lhs), uimm7:$cimm, Cond,
589+
: Pat<(riscv_selectcc_frag:$cc (XLenVT GPR:$lhs), uimm7:$cimm, Cond,
590590
(XLenVT GPR:$truev), GPR:$falsev),
591591
(Select_GPR_Using_CC_UImm7_NDS GPR:$lhs, uimm7:$cimm,
592592
(IntCCtoRISCVCC $cc), GPR:$truev, GPR:$falsev)>;

0 commit comments

Comments
 (0)