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:
972a73a
)
[RISCV] Fix a typo in RISCVISelLowering.cpp
author
Ben Shi
<powerman1st@163.com>
Sun, 7 Jun 2020 01:40:59 +0000
(18:40 -0700)
committer
Fangrui Song
<i@maskray.me>
Sun, 7 Jun 2020 01:41:00 +0000
(18:41 -0700)
The 9th parameter of "static bool CC_RISCV(...)" is isFixed, not isRet.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D81333
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index
7b11744
..
b6e9d9f
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@
-1673,7
+1673,7
@@
void RISCVTargetLowering::analyzeInputArgs(
RISCVABI::ABI ABI = MF.getSubtarget<RISCVSubtarget>().getTargetABI();
if (CC_RISCV(MF.getDataLayout(), ABI, i, ArgVT, ArgVT, CCValAssign::Full,
- ArgFlags, CCInfo, /*Is
Ret
=*/true, IsRet, ArgTy)) {
+ ArgFlags, CCInfo, /*Is
Fixed
=*/true, IsRet, ArgTy)) {
LLVM_DEBUG(dbgs() << "InputArg #" << i << " has unhandled type "
<< EVT(ArgVT).getEVTString() << '\n');
llvm_unreachable(nullptr);