[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.
parent
be51fa45
Please register or sign in to comment