diff --git a/llvm/lib/Transforms/Tapir/DRFScopedNoAliasAA.cpp b/llvm/lib/Transforms/Tapir/DRFScopedNoAliasAA.cpp index 7ae7df9f05eb..d590406be7e5 100644 --- a/llvm/lib/Transforms/Tapir/DRFScopedNoAliasAA.cpp +++ b/llvm/lib/Transforms/Tapir/DRFScopedNoAliasAA.cpp @@ -41,7 +41,7 @@ class DRFScopedNoAliasImpl { public: DRFScopedNoAliasImpl(Function &F, TaskInfo &TI, AliasAnalysis &AA, LoopInfo *LI) - : F(F), TI(TI), AA(AA), LI(LI) { + : F(F), TI(TI), LI(LI) { TI.evaluateParallelState(MPTasks); } @@ -62,7 +62,6 @@ class DRFScopedNoAliasImpl { Function &F; TaskInfo &TI; - AliasAnalysis &AA; LoopInfo *LI; MaybeParallelTasks MPTasks;