[SCEV] Use isa<> pattern for testing for CouldNotCompute [NFC]
authorPhilip Reames <listmail@philipreames.com>
Wed, 25 Nov 2020 02:45:37 +0000 (18:45 -0800)
committerPhilip Reames <listmail@philipreames.com>
Wed, 25 Nov 2020 02:47:49 +0000 (18:47 -0800)
commit10ddb927c1c3ee6af0436c23f93fe1da6de7b99a
treec30bb706f535956a3305eab545741ed4cb4d961a
parent3d1149c6fe48cdab768b587e5531c31b6f42ee12
[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.
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp