[mlir] Slightly optimize getRegions checks by inlining size check
Calculating the position of the region trailing objects isn't free, given that it's the last trailing object, and inlining the size check removes the need for users to explicitly add size checks for micro-optimization.
Loading
Please sign in to comment