[PATCH] D51595: [NewGVN] Update use counts for SSA copies when replacing them by their operands.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 26 10:51:25 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/Transforms/Scalar/NewGVN.cpp:4095
+          if (isSSACopy) {
+            auto &IIUseCount = UseCounts[II];
+            if (--IIUseCount == 0)
----------------
auto -> unsigned?


https://reviews.llvm.org/D51595





More information about the llvm-commits mailing list