[llvm] [MIPS][CallSiteInfo][NFC] Fill CallSiteInfo only when needed (PR #86847)
YunQiang Su via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 1 20:41:01 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)
----------------
wzssyqa wrote:
LGTM. I will accept this PR after CI finish successfully.
https://github.com/llvm/llvm-project/pull/86847
More information about the llvm-commits
mailing list