[all-commits] [llvm/llvm-project] 680d04: [mlir][Arith] `ValueBoundsOpInterface`: Support `a...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Mar 23 01:33:23 PDT 2024
Branch: refs/heads/users/matthias-springer/value_bounds_arith_select
Home: https://github.com/llvm/llvm-project
Commit: 680d04d71e663aac51ea8f4dc4885d0bfd050b19
https://github.com/llvm/llvm-project/commit/680d04d71e663aac51ea8f4dc4885d0bfd050b19
Author: Matthias Springer <springerm at google.com>
Date: 2024-03-23 (Sat, 23 Mar 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`
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