[PATCH] D81333: Fix a typo in RISCVISelLowering.cpp

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 6 19:12:34 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4b6f0ea66cb1: [RISCV] Fix a typo in RISCVISelLowering.cpp (authored by benshi001, committed by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81333/new/

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.269036.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200607/6b46764b/attachment.bin>


More information about the llvm-commits mailing list