[all-commits] [llvm/llvm-project] 698fcb: [mlir][affine] Set overflow flags when lowering [d...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Tue May 13 11:17:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 698fcb1251c301d7dad02dbcd53f5c3bd60622d5
      https://github.com/llvm/llvm-project/commit/698fcb1251c301d7dad02dbcd53f5c3bd60622d5
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/lib/Dialect/Affine/Transforms/AffineExpandIndexOps.cpp
    M mlir/test/Dialect/Affine/affine-expand-index-ops.mlir

  Log Message:
  -----------
  [mlir][affine] Set overflow flags when lowering [de]linearize_index (#139612)

By analogy to some changess to the affine.apply lowering which put
`nsw`s on various multiplications, add appropritae overflow flags to the
multiplications and additions that're emitted when lowering
affine.delinearize_index and affine.linearize_index to arith ops.



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