[SCEV] Skip instrs with non-scevable types in visitAndClearUsers.
authorFlorian Hahn <flo@fhahn.com>
Fri, 28 Apr 2023 14:37:32 +0000 (15:37 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 28 Apr 2023 14:37:35 +0000 (15:37 +0100)
commit4c2d29f2fc78782a469ccff625dd29d66d4d9f9b
tree4af82011a76071dec0170eaf437a6cb7ab2a35a9
parent02c5eb565f2e0396053b25cb39659a52517b2f32
[SCEV] Skip instrs with non-scevable types in visitAndClearUsers.

No SCEVs are formed for instructions with non-scevable types, so no
other SCEV expressions can depend on them. Skip those instructions and
their users when invalidating SCEV expressions.

Depends on D144847.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D144848
llvm/lib/Analysis/ScalarEvolution.cpp