[PATCH] D13595: [SCEV][LV] Add SCEV Predicates and use them to re-implement stride versioning

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 17:48:51 PDT 2015


hfinkel added inline comments.

================
Comment at: lib/Analysis/ScalarEvolution.cpp:70
@@ -69,2 +69,3 @@
 #include "llvm/Analysis/LoopInfo.h"
+#include "llvm/Analysis/ScalarEvolutionExpander.h"
 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
----------------
We currently have SCEVExpander use SCEV, but not the other-way around. Could you move the IR-building code into SCEVExpander to avoid changing the layering here?



http://reviews.llvm.org/D13595





More information about the llvm-commits mailing list