[llvm] [BasicBlockSections] Apply path cloning with -basic-block-sections. (PR #68860)

Sriraman Tallam via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 13:55:16 PDT 2023


================
@@ -285,6 +314,130 @@ static bool hasInstrProfHashMismatch(MachineFunction &MF) {
   return false;
 }
 
+// Returns if we can legally apply all clonings specified in `ClonePaths`.
+static bool
+IsValidCloning(const MachineFunction &MF,
----------------
tmsri wrote:

Please describe the parameters

https://github.com/llvm/llvm-project/pull/68860


More information about the llvm-commits mailing list