[all-commits] [llvm/llvm-project] 10ddb9: [SCEV] Use isa<> pattern for testing for CouldNotC...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Nov 24 18:52:54 PST 2020
Branch: refs/heads/temp-test-main
Home: https://github.com/llvm/llvm-project
Commit: 10ddb927c1c3ee6af0436c23f93fe1da6de7b99a
https://github.com/llvm/llvm-project/commit/10ddb927c1c3ee6af0436c23f93fe1da6de7b99a
Author: Philip Reames <listmail at philipreames.com>
Date: 2020-11-24 (Tue, 24 Nov 2020)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
M llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[SCEV] Use isa<> pattern for testing for CouldNotCompute [NFC]
Some older code - and code copied from older code - still directly tested against the singelton result of SE::getCouldNotCompute. Using the isa<SCEVCouldNotCompute> form is both shorter, and more readable.
More information about the All-commits
mailing list