LoopIdiomRecognize: use ExpandedValuesCleaner in another place
authorJon Roelofs <jonathan_roelofs@apple.com>
Mon, 20 Jul 2020 14:47:07 +0000 (08:47 -0600)
committerJon Roelofs <jonathan_roelofs@apple.com>
Tue, 21 Jul 2020 15:32:23 +0000 (09:32 -0600)
commitdc09c65f638f177265f47d897469888cfa011041
treefd420737db38bb224d5bd1d17055461945f70fa2
parent4d75cc4b0a648ede4886fd98ce70d462f5d3994a
LoopIdiomRecognize: use ExpandedValuesCleaner in another place

This is a necessary cleanup after having expanded a SCEV.

See: https://reviews.llvm.org/D84071#inline-774728

Differential Revision: https://reviews.llvm.org/D84174
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp