[LoopPeel][NFC] Exit early if there is no room for peeling
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 26 Apr 2022 14:43:56 +0000 (18:43 +0400)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 26 Apr 2022 14:43:56 +0000 (18:43 +0400)
commitc71890e158df43d2aa4fbdbfb7adf6791d4cb66b
tree8e71ac9dc9a1670c80607dc9183aaeaefbee93ce
parentc89433d7fa10f9a3fe3858ac455ece5913092107
[LoopPeel][NFC] Exit early if there is no room for peeling

Differential Revision: https://reviews.llvm.org/D123864
llvm/lib/Transforms/Utils/LoopPeel.cpp