From 3dd78f6d951af4144b6d216339f0f7d47ee6435c Mon Sep 17 00:00:00 2001 From: TB Schardl Date: Fri, 13 Oct 2023 23:27:59 +0000 Subject: [PATCH] [DRFScopedNoAliasAA] Fix a compiler warning. --- llvm/lib/Transforms/Tapir/DRFScopedNoAliasAA.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;