[all-commits] [llvm/llvm-project] 60b44d: [MLIR][Affine] Fix bug in `simplifySemiAffine` uti...

Arnab Dutta via All-commits all-commits at lists.llvm.org
Sat Mar 1 06:17:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60b44d31afe53556ec707dc855983b93971d83c4
      https://github.com/llvm/llvm-project/commit/60b44d31afe53556ec707dc855983b93971d83c4
  Author: Arnab Dutta <85476402+arnab-polymage at users.noreply.github.com>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/test/Dialect/Affine/simplify-structures.mlir

  Log Message:
  -----------
  [MLIR][Affine] Fix bug in `simplifySemiAffine` utility (#129200)

Whenever `symbolicDivide` returns nullptr when called from inside
`simplifySemiAffine` we substitute the result with the original
expression (`expr`). nullptr simply indicates that the floordiv
expression cannot be simplified further.

Fixes: https://github.com/llvm/llvm-project/issues/122231



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list