Skip to content

Commit bc93d51

Browse files
committed
[NFC][RISCV][format] Blank line between functions, remove unnecessary semicolon.
1 parent 8daf23d commit bc93d51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
222222
}
223223
llvm_unreachable("unknown register class");
224224
}
225+
225226
unsigned getRegisterClassForType(bool Vector, Type *Ty = nullptr) const {
226227
if (Vector)
227228
return RISCVRegisterClass::VRRC;
@@ -236,7 +237,8 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
236237
}
237238

238239
return RISCVRegisterClass::GPRRC;
239-
};
240+
}
241+
240242
const char *getRegisterClassName(unsigned ClassID) const {
241243
switch (ClassID) {
242244
case RISCVRegisterClass::GPRRC:

0 commit comments

Comments
 (0)