[SCEV][NFC] Remove check for rewriteable types
authorMax Kazantsev <mkazantsev@azul.com>
Tue, 7 Feb 2023 05:17:24 +0000 (12:17 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Tue, 7 Feb 2023 05:43:42 +0000 (12:43 +0700)
commitd7eda3ca1087978ed74225953436f75c2c220b77
tree1b2bc3a7dfd0e7eea45a5aa1856f98c8b9576b7c
parent63854f91d3ee1056796a5ef27753648396cac6ec
[SCEV][NFC] Remove check for rewriteable types

I guess its only reason to exist is potential CT optimization, otherwise it is
just creating cohesion between this code and rewriter internals. We plan to
extend the rewriter. I'd rather not have this cohesion, unless there is a serious
reason to have it.

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