[PATCH] D28930: [NewGVN] Optimize processing as instructions don't get more trivially dead over time
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 19 16:56:54 PST 2017
davide added inline comments.
Comment at: lib/Transforms/Scalar/NewGVN.cpp:241-243
+ // This contains a mapping from Instructions to DFS numbers.
+ // The numbering starts at 1. An instruction with DFS number zero
+ // means that the instruction is dead.
This also adds a comment explaining what these array are for (in case it wasn't entirely obvious) and the special meaning of DFS number == 0
More information about the llvm-commits