From 18fd3e63e3ece05645e1a5b090bbcb83b11cd947 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 8 Nov 2016 19:52:32 +0000 Subject: [PATCH] [LoopDistribute] Preserve GlobalsAA also in the new Pass Manager. Differential Revision: https://reviews.llvm.org/D26408 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286280 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopDistribute.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/Scalar/LoopDistribute.cpp b/lib/Transforms/Scalar/LoopDistribute.cpp index a92ce04e598..1db8caa0a34 100644 --- a/lib/Transforms/Scalar/LoopDistribute.cpp +++ b/lib/Transforms/Scalar/LoopDistribute.cpp @@ -977,6 +977,7 @@ PreservedAnalyses LoopDistributePass::run(Function &F, PreservedAnalyses PA; PA.preserve(); PA.preserve(); + PA.preserve(); return PA; } -- 2.40.0