[llvm] bc93d51 - [NFC][RISCV][format] Blank line between functions, remove unnecessary semicolon.
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 00:39:36 PDT 2022
Author: yanming
Date: 2022-06-06T15:38:14+08:00
New Revision: bc93d51d36fd68d96c0811645318d6f59bf332bd
URL: https://github.com/llvm/llvm-project/commit/bc93d51d36fd68d96c0811645318d6f59bf332bd
DIFF: https://github.com/llvm/llvm-project/commit/bc93d51d36fd68d96c0811645318d6f59bf332bd.diff
LOG: [NFC][RISCV][format] Blank line between functions, remove unnecessary semicolon.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
index cd07da69a168..52e20e941157 100644
--- a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+++ b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@ -222,6 +222,7 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
}
llvm_unreachable("unknown register class");
}
+
unsigned getRegisterClassForType(bool Vector, Type *Ty = nullptr) const {
if (Vector)
return RISCVRegisterClass::VRRC;
@@ -236,7 +237,8 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
}
return RISCVRegisterClass::GPRRC;
- };
+ }
+
const char *getRegisterClassName(unsigned ClassID) const {
switch (ClassID) {
case RISCVRegisterClass::GPRRC:
More information about the llvm-commits
mailing list