[PATCH] D109760: [GVN] Simple GVN hoist

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 14 06:37:25 PDT 2021


chill added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:672
   auto *LI = AM.getCachedResult<LoopAnalysis>(F);
-  auto *MSSA = AM.getCachedResult<MemorySSAAnalysis>(F);
+  auto *MSSA = &AM.getResult<MemorySSAAnalysis>(F);
   auto &ORE = AM.getResult<OptimizationRemarkEmitterAnalysis>(F);
----------------
Oops, leftover change, will revert.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109760/new/

https://reviews.llvm.org/D109760



More information about the llvm-commits mailing list