projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8daf23d
)
[NFC][RISCV][format] Blank line between functions, remove unnecessary semicolon.
author
yanming
<ming.yan@terapines.com>
Mon, 6 Jun 2022 07:32:12 +0000
(15:32 +0800)
committer
yanming
<ming.yan@terapines.com>
Mon, 6 Jun 2022 07:38:14 +0000
(15:38 +0800)
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
index
cd07da6
..
52e20e9
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+++ b/
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@
-222,6
+222,7
@@
public:
}
llvm_unreachable("unknown register class");
}
+
unsigned getRegisterClassForType(bool Vector, Type *Ty = nullptr) const {
if (Vector)
return RISCVRegisterClass::VRRC;
@@
-236,7
+237,8
@@
public:
}
return RISCVRegisterClass::GPRRC;
- };
+ }
+
const char *getRegisterClassName(unsigned ClassID) const {
switch (ClassID) {
case RISCVRegisterClass::GPRRC: