[PATCH] D70097: [SCEV] Add missing cache queries

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 03:42:26 PST 2020


mkazantsev added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:2946
+  else {
+    FoldingSetNodeID ID;
+    ID.AddInteger(scMulExpr);
----------------
This code piece is reocurring over the code. Please factor out into a separate method that takes `ArrayRef<Value *>` or something.


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

https://reviews.llvm.org/D70097





More information about the llvm-commits mailing list