[mlir][NFC] Move `foldAttributesIntoMap` to `IR` build unit (#70155)
`foldAttributesIntoMap` is a helper function that folds constant `OpFoldResult` into an affine map. This commit moves the function from the affine dialect to `AffineMap.h`, so that it can be used without depending on the affine dialect.
Loading
Please sign in to comment