[llvm] 5cfa8ba - [LoongArch] Fix a typo in LoongArchCCAssignFn. NFC (#116178)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 00:22:51 PST 2024


Author: ZhaoQi
Date: 2024-11-14T16:22:45+08:00
New Revision: 5cfa8baef33636827e5aa8dd76888c724433b53e

URL: https://github.com/llvm/llvm-project/commit/5cfa8baef33636827e5aa8dd76888c724433b53e
DIFF: https://github.com/llvm/llvm-project/commit/5cfa8baef33636827e5aa8dd76888c724433b53e.diff

LOG: [LoongArch] Fix a typo in LoongArchCCAssignFn. NFC (#116178)

Added: 
    

Modified: 
    llvm/lib/Target/LoongArch/LoongArchISelLowering.h

Removed: 
    


################################################################################
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