[mlir] Add a _get_default_loc_context utility to Python bindings
This utility function is helpful for dialect-specific builders that need to access the context through location, and the location itself may be either provided as an argument or expected to be recovered from the implicit location stack. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D91623
Loading
Please sign in to comment