[llvm] [LoongArch] Fix a typo in LoongArchCCAssignFn. NFC (PR #116178)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 00:08:35 PST 2024
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/116178
None
>From 918dce21eb9ad4581f54cb6451129ac9e5838a06 Mon Sep 17 00:00:00 2001
From: Qi Zhao <zhaoqi01 at loongson.cn>
Date: Thu, 14 Nov 2024 16:01:05 +0800
Subject: [PATCH] [LoongArch] Fix a typo in LoongArchCCAssignFn. NFC
---
llvm/lib/Target/LoongArch/LoongArchISelLowering.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/LoongArch/LoongArchISelLowering.h b/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
index c10acc043c5006..1aa686695b49b8 100644
--- a/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
+++ b/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
@@ -284,7 +284,7 @@ class LoongArchTargetLowering : public TargetLowering {
unsigned ValNo, MVT ValVT,
CCValAssign::LocInfo LocInfo,
ISD::ArgFlagsTy ArgFlags, CCState &State,
- bool IsFixed, bool IsReg, Type *OrigTy);
+ bool IsFixed, bool IsRet, Type *OrigTy);
void analyzeInputArgs(MachineFunction &MF, CCState &CCInfo,
const SmallVectorImpl<ISD::InputArg> &Ins, bool IsRet,
More information about the llvm-commits
mailing list