Factor out thread-safe uniqu'ing backed by vector in MLIRcontext
Extract common code from getAffineSymbolExpr and getAffineConstantExpr into a utility function safeGetOrCreate, similarly to the existing overloads for sets and maps. The position in the vector is used as indexing key. NFC. -- PiperOrigin-RevId: 244820859
Loading
Please sign in to comment