[llvm] [FuncSpec] Update function specialization to handle phi-chains (PR #71442)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 10:29:50 PST 2023


================
@@ -262,30 +267,86 @@ Cost InstCostVisitor::estimateBranchInst(BranchInst &I) {
   return estimateBasicBlocks(WorkList);
 }
 
+void InstCostVisitor::discoverStronglyConnectedComponent(PHINode *PN,
----------------
momchil-velikov wrote:

Actually, drop all the mention of SCC across the patch. We are not discovering any SCCs.

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


More information about the llvm-commits mailing list