[all-commits] [llvm/llvm-project] 26e35b: [mlir][NFC] Move `foldAttributesIntoMap` to `IR` b...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Oct 25 01:50:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26e35b0fa8da223aea16d9412a9ef098eb2107a8
      https://github.com/llvm/llvm-project/commit/26e35b0fa8da223aea16d9412a9ef098eb2107a8
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/IR/AffineMap.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list