[all-commits] [llvm/llvm-project] 4ef0c7: [mlir][Arith] `ValueBoundsOpInterface`: Support `a...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Apr 4 21:31:30 PDT 2024


  Branch: refs/heads/users/matthias-springer/value_bounds_arith_select
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ef0c781195ff236fd2ff0c0ccf38313d0a59360
      https://github.com/llvm/llvm-project/commit/4ef0c781195ff236fd2ff0c0ccf38313d0a59360
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-04-05 (Fri, 05 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`

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