[llvm] [MIPS][CallSiteInfo][NFC] Fill CallSiteInfo only when needed (PR #86847)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 20:36:26 PDT 2024


================
@@ -3381,7 +3381,7 @@ MipsTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
 
       // Collect CSInfo about which register passes which parameter.
       const TargetOptions &Options = DAG.getTarget().Options;
-      if (Options.SupportsDebugEntryValues)
+      if (Options.EmitCallSiteInfo && Options.SupportsDebugEntryValues)
----------------
Prabhuk wrote:

Updated the patch as suggested! Thank you.

https://github.com/llvm/llvm-project/pull/86847


More information about the llvm-commits mailing list