[all-commits] [llvm/llvm-project] 1f9ca5: [MLIR] Avoid creation of buggy affine maps while r...

Arnab Dutta via All-commits all-commits at lists.llvm.org
Fri Nov 19 22:33:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f9ca5adbac08dcca73b9e12aa2c5ed777cc460e
      https://github.com/llvm/llvm-project/commit/1f9ca5adbac08dcca73b9e12aa2c5ed777cc460e
  Author: Arnab Dutta <arnab.dutta at cerebras.net>
  Date:   2021-11-20 (Sat, 20 Nov 2021)

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

  Log Message:
  -----------
  [MLIR] Avoid creation of buggy affine maps while replacing dimension and symbol

Initially before appending the newly composed dimension and symbols
to the dimension and symbol list whose size is to be passed in
AffineMap::get(), the call to the AffineMap::get() was made, resulting
in wrong dimCount and symbolCount being passed as argument. We move the
call to the AffineMap::get() after the diimension and symbol list are
updated.

Differential Revision: https://reviews.llvm.org/D114237




More information about the All-commits mailing list