[all-commits] [llvm/llvm-project] e55463: [mlir][Arith] `ValueBoundsOpInterface`: Support `a...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Apr 5 23:35:48 PDT 2024
Branch: refs/heads/users/matthias-springer/value_bounds_arith_select2
Home: https://github.com/llvm/llvm-project
Commit: e55463c75138599de855cbb8fe0a2ab452c67843
https://github.com/llvm/llvm-project/commit/e55463c75138599de855cbb8fe0a2ab452c67843
Author: Matthias Springer <me at m-sp.org>
Date: 2024-04-06 (Sat, 06 Apr 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.cpp
M mlir/test/Dialect/Arith/value-bounds-op-interface-impl.mlir
Log Message:
-----------
[mlir][Arith] `ValueBoundsOpInterface`: Support `arith.select` (#86383)
This commit adds a `ValueBoundsOpInterface` implementation for
`arith.select`. The implementation is almost identical to `scf.if`
(#85895), but there is one special case: if the condition is a shaped
value, the selection is applied element-wise and the result shape can be
inferred from either operand.
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