Unverified Commit 5d187898 authored by Fabian Tschopp's avatar Fabian Tschopp Committed by GitHub
Browse files

[mlir][inliner] Return early if the inliningThreshold is 0U or -1U. (#86287)

Computing the inlinling profitability can be costly due to walking the
graph when counting the number of operations.

This PR addresses that by returning early if the threshold is set to
never or always inline.
parent 00248754
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment