[PATCH] D145042: [NFC][SCEV] Changed the return type of some functions from ScalarEvolution

Dmitry Bakunevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 21:11:25 PDT 2023


dbakunevich marked an inline comment as done.
dbakunevich added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp:63
 #include "llvm/Analysis/ScalarEvolution.h"
+#include "llvm/Analysis/ScalarEvolutionExpressions.h"
 #include "llvm/Analysis/TargetTransformInfo.h"
----------------
mkazantsev wrote:
> mkazantsev wrote:
> > ????
> Do I understand correctly that it's because `auto` resolve fails here?
Yes, you are right. I included this file so that automatic casting occurs.


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

https://reviews.llvm.org/D145042



More information about the llvm-commits mailing list