[PATCH] D81726: [MemDep] Also remove load instructions from NonLocalDesCache.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 16:34:11 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:1532
 
+  // Otherwise, if the instructions is in the map directly, it must be a load.
+  auto toRemoveIt = NonLocalDefsCache.find(RemInst);
----------------
The comment says "otherwise"; should this be an else-if?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81726





More information about the llvm-commits mailing list