We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e909a45 commit 719157aCopy full SHA for 719157a
llvm/lib/Transforms/Utils/IRNormalizer.cpp
@@ -19,7 +19,6 @@
19
#include "llvm/ADT/SmallPtrSet.h"
20
#include "llvm/ADT/SmallString.h"
21
#include "llvm/ADT/SmallVector.h"
22
-#include "llvm/Analysis/StructuralHash.h"
23
#include "llvm/IR/BasicBlock.h"
24
#include "llvm/IR/Function.h"
25
#include "llvm/IR/IRBuilder.h"
@@ -692,8 +691,5 @@ SetVector<int> IRNormalizer::getOutputFootprint(
692
691
PreservedAnalyses IRNormalizerPass::run(Function &F,
693
FunctionAnalysisManager &AM) const {
694
IRNormalizer{}.runOnFunction(F);
695
- auto PA = PreservedAnalyses::all();
696
- PA.abandon<PreservedFunctionHashAnalysis>();
697
- PA.abandon<PreservedModuleHashAnalysis>();
698
- return PA;
+ return PreservedAnalyses::all();
699
}
0 commit comments