[all-commits] [llvm/llvm-project] e26ef0: [mlir][arith] Canonicalize cmpi select to min/max ...
Ming Yan via All-commits
all-commits at lists.llvm.org
Fri Jun 5 03:37:37 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e26ef0c943415ec3c3bd88c9c3e9bdca3791d4fd
https://github.com/llvm/llvm-project/commit/e26ef0c943415ec3c3bd88c9c3e9bdca3791d4fd
Author: Ming Yan <ming.yan at terapines.com>
Date: 2026-06-05 (Fri, 05 Jun 2026)
Changed paths:
M flang/test/Fir/boxproc.fir
M flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/Intrinsics/show_descriptor.f90
M flang/test/Lower/volatile1.f90
M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
Log Message:
-----------
[mlir][arith] Canonicalize cmpi select to min/max (#201737)
This PR adds canonicalization patterns that fold `arith.select` +
`arith.cmpi` into
`arith.minsi`/`arith.maxsi`/`arith.minui`/`arith.maxui` operations.
---------
Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
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