[PATCH] D49491: [RFC][VPlan, SLP] Add simple SLP analysis on top of VPlan.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 10:19:48 PDT 2018


fhahn marked 15 inline comments as done.
fhahn added inline comments.


================
Comment at: lib/Transforms/Vectorize/VPlan.h:640
+
+  Instruction *getUnderlyingInstr() {
+    if (!getUnderlyingValue())
----------------
ABataev wrote:
> Make the function `const`
Agreed that it should be const. Before I can change that here I need to change some of the underlying/connected functions const.


https://reviews.llvm.org/D49491





More information about the llvm-commits mailing list