[LV] Move SCEV caching workaround to executePlan (NFC).
authorFlorian Hahn <flo@fhahn.com>
Wed, 21 Dec 2022 14:36:24 +0000 (14:36 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 21 Dec 2022 14:51:21 +0000 (14:51 +0000)
commit7d8528dbf290656815a64b2b9e4ad0567375fff0
treeae4e346e868a238c0cbfc1b00f0a218f617721cf
parente536e2ca35361cdba935ca646d208784554e60d9
[LV] Move SCEV caching workaround to executePlan (NFC).

As suggested by @Ayal in D92132.

This avoids having to duplicate the workaround in multiple places.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp