FailedChanges

Summary

  1. [BPI][NFC] Unify handling of normal and SCC based loops (details)
Commit 02a629daad0a1b7c8f70b11b312e94725c386dee by ybrevnov
[BPI][NFC] Unify handling of normal and SCC based loops

This is one more NFC part extracted from D79485. Normal and SCC based loops have very different representation and have to be handled separatly each time we deal with loops. D79485 is going to introduce much more extensive use of loops what will be problematic with out this change.

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D84838
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/BranchProbabilityInfo.h (diff)