[Mlir-commits] [mlir] [mlir][inliner] optimize self-recursive function detection [NFC] (PR #88452)

Mehdi Amini llvmlistbot at llvm.org
Fri Apr 12 02:00:37 PDT 2024


================
@@ -621,6 +623,12 @@ Inliner::Impl::inlineCallsInSCC(InlinerInterfaceImpl &inlinerIface,
     llvm::dbgs() << "}\n";
   });
 
+  llvm::SmallPtrSet<Region *, 16U> recursiveCallRegions{};
----------------
joker-eph wrote:

Why did you specify 16 here instead of using the default?

Also can you please add a comment here detailing the role of this new set in the process?

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


More information about the Mlir-commits mailing list