[LoopPeel] Use any_of & contains instead of for & find.
authorFlorian Hahn <flo@fhahn.com>
Tue, 12 Oct 2021 11:13:45 +0000 (12:13 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 12 Oct 2021 11:18:01 +0000 (12:18 +0100)
commit40d85f16c45e09c1e280bcb8e63342392036f1eb
tree1ca58663a223f74be75c64689ab9ac8fdbc36119
parent31270eb16501cca73fb3fbac254fe9965a3f3fc1
[LoopPeel] Use any_of & contains instead of for & find.

Using contains was suggested in D108114, but I forgot to include it when
landing the patch.
llvm/lib/Transforms/Utils/LoopPeel.cpp