[LoopPredication] NFC: Refactored code to separate out functions being reused
Summary: Refactored the code to separate out common functions that are being reused. This is to reduce the changes for changes coming up wrt loop predication with reverse loops. This refactoring is what we have in our downstream code. llvm-svn: 317324
Loading
Please register or sign in to comment