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

Congcong Cai llvmlistbot at llvm.org
Fri Apr 12 08:00:36 PDT 2024


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

It doesn't have default size value for `SmallPtrSet`. I just pick 16 between 0 to 32.

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


More information about the Mlir-commits mailing list