[LoopPredication] Use isSafeToExpandAt() member function (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 14 Jul 2022 12:49:07 +0000 (14:49 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 14 Jul 2022 12:49:07 +0000 (14:49 +0200)
commit9e6e631b3861c3f720992f037a9ba362b0c49974
treeba5026630d67aeb2c94fefa50c52f2bcb578fa3d
parentdcf4b733ef8e8e876e55b85c0d67c9b32c4fde0e
[LoopPredication] Use isSafeToExpandAt() member function (NFC)

As a followup to D129630, this switches a usage of the freestanding
function in LoopPredication to use the member variant instead. This
was the last use of the freestanding function, so drop it entirely.
llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
llvm/lib/Transforms/Scalar/LoopPredication.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp