[PATCH] D24805: [GVNSink] Initial GVNSink prototype

Noel Grandin via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 12:43:25 PDT 2016


grandinj added a subscriber: grandinj.

================
Comment at: include/llvm/Transforms/Scalar.h:336
@@ -335,1 +335,3 @@
 //
+// GVNSink - This pass uses a "reversed" value numbering to decide the
+// similarity of expressions and sinks similar expressions into successors.
----------------
"inverted" might be a better description 

================
Comment at: include/llvm/Transforms/Scalar/GVN.h:108
@@ -102,1 +107,3 @@
 
+  /// This map computes a corrolary function to ValueTable.
+  /// ValueTable computes a function VN(x) where if VN(a) == VN(b), then \c a
----------------
corollary


https://reviews.llvm.org/D24805





More information about the llvm-commits mailing list