[PATCH] D62644: [EarlyCSE] Ensure equal keys have the same hash value

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 11:10:26 PDT 2019


nikic accepted this revision.
nikic added a comment.

LGTM as well.



================
Comment at: llvm/lib/Transforms/Scalar/EarlyCSE.cpp:160
+  else
+    Flavor = SPF_UNKNOWN;
+
----------------
Either this assignment or the one above it can be dropped.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62644





More information about the llvm-commits mailing list