Revert r272194 No need for it if loop Analysis Manager is used
llvm-svn: 272243
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
index 3d82eb8..48405a2 100644
--- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -608,7 +608,7 @@
return fail("multiple exit blocks");
// LAA will check that we only have a single exiting block.
- LAI = &LAA->getResult().getInfo(L, ValueToValueMap());
+ LAI = &LAA->getInfo(L, ValueToValueMap());
// Currently, we only distribute to isolate the part of the loop with
// dependence cycles to enable partial vectorization.