Skip to content

Commit 7895b93

Browse files
committed
remove redundant assignment
1 parent fa877fe commit 7895b93

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,9 @@ void SelectionDAGISel::initialize(MachineFunctionAnalysisManager &MFAM) {
496496
FAM.getResult<BranchProbabilityAnalysis>(Fn);
497497
if (UseMBPI && OptLevel != CodeGenOptLevel::None)
498498
FuncInfo->BPI = &FAM.getResult<BranchProbabilityAnalysis>(Fn);
499-
else
500-
FuncInfo->BPI = nullptr;
501499

502500
if (OptLevel != CodeGenOptLevel::None)
503501
AA = &FAM.getResult<AAManager>(Fn);
504-
else
505-
AA = nullptr;
506502

507503
SP = &FAM.getResult<SSPLayoutAnalysis>(Fn);
508504

0 commit comments

Comments
 (0)