[llvm] [NewPM][CodeGen] Port selection dag isel to new pass manager (PR #83567)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 02:09:24 PDT 2024
================
@@ -3074,9 +3074,10 @@ SDValue SITargetLowering::LowerFormalArguments(
if (IsEntryFunc)
allocateSystemSGPRs(CCInfo, MF, *Info, CallConv, IsGraphics);
- auto &ArgUsageInfo =
- DAG.getPass()->getAnalysis<AMDGPUArgumentUsageInfo>();
- ArgUsageInfo.setFuncArgInfo(Fn, Info->getArgInfo());
+ if (DAG.getPass()) {
----------------
arsenm wrote:
Comment why DAG.getPass would be null
https://github.com/llvm/llvm-project/pull/83567
More information about the llvm-commits
mailing list