All existing SCEV cast types operate on integers.
A follow-up patch will add SCEVPtrToIntExpr cast expression type.
I believe this is best for consistency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D89455
[NFC][SCEV] Rename SCEVCastExpr into SCEVIntegralCastExpr ClosedPublic Authored by lebedev.ri on Oct 15 2020, 3:57 AM.
Details Summary All existing SCEV cast types operate on integers.
Diff Detail
Event TimelineHerald added subscribers: bmahjour, javed.absar, hiraditya. · View Herald TranscriptOct 15 2020, 3:57 AM lebedev.ri added a child revision: D89456: [SCEV] Introduce SCEVPtrToIntExpr (PR46786).Oct 16 2020, 11:44 AM This revision is now accepted and ready to land.Oct 18 2020, 10:12 PM Comment Actions
Thanks. I'll land this right now, long before D89456, so that out-of-tree users (if any) This revision was landed with ongoing or failed builds.Oct 19 2020, 1:00 AM Closed by commit rGd083d55c2cd1: [NFC][SCEV] Rename SCEVCastExpr into SCEVIntegralCastExpr (authored by lebedev.ri). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 298842 llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
llvm/lib/Analysis/DependenceAnalysis.cpp
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Analysis/VectorUtils.cpp
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
|
clang-tidy: warning: invalid case style for parameter 'op' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'ty' [readability-identifier-naming]
not useful