[PATCH] D29624: [DSE] Basic MemorySSA-backed global DSE

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 02:06:31 PST 2017


Prazek added inline comments.


================
Comment at: lib/Transforms/Scalar/DeadStoreElimination.cpp:1210-1211
+  DenseMap<const Value *, unsigned> InstNums;
+  // ^ Post-order numbering of MemoryPhis and instructions, a) that throw, or b)
+  // are DSE candidates. Used to detect intervening MayThrows or loop latches
+  SmallVector<unsigned, 32> MayThrows;
----------------
Why are the comments after the code? 


Repository:
  rL LLVM

https://reviews.llvm.org/D29624





More information about the llvm-commits mailing list