[PATCH] D145042: [NFC][SCEV] Changed the return type of some functions from ScalarEvolution
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 1 02:36:43 PST 2023
mkazantsev added inline comments.
================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:489
+ if (const SCEV *S = UniqueSCEVs.FindNodeOrInsertPos(ID, IP))
+ return dyn_cast<SCEVConstant>(S);
+ SCEVConstant *S =
----------------
`cast`
================
Comment at: llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp:63
#include "llvm/Analysis/ScalarEvolution.h"
+#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/Analysis/TargetTransformInfo.h"
----------------
????
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145042/new/
https://reviews.llvm.org/D145042
More information about the llvm-commits
mailing list