[PATCH] D81333: Fix a typo in RISCVISelLowering.cpp
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 6 06:23:34 PDT 2020
benshi001 created this revision.
benshi001 added a reviewer: MaskRay.
benshi001 added a project: LLVM.
Herald added subscribers: llvm-commits, evandro, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
The 9th parameter of "static bool CC_RISCV(...)" is isFixed, not isRet.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81333
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Index: llvm/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -1673,7 +1673,7 @@
RISCVABI::ABI ABI = MF.getSubtarget<RISCVSubtarget>().getTargetABI();
if (CC_RISCV(MF.getDataLayout(), ABI, i, ArgVT, ArgVT, CCValAssign::Full,
- ArgFlags, CCInfo, /*IsRet=*/true, IsRet, ArgTy)) {
+ ArgFlags, CCInfo, /*IsFixed=*/true, IsRet, ArgTy)) {
LLVM_DEBUG(dbgs() << "InputArg #" << i << " has unhandled type "
<< EVT(ArgVT).getEVTString() << '\n');
llvm_unreachable(nullptr);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81333.269019.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200606/71ba29cc/attachment.bin>
More information about the llvm-commits
mailing list