[all-commits] [llvm/llvm-project] bae637: [mlir][shape] Add `shape.cstr_require %bool`
Sean Silva via All-commits
all-commits at lists.llvm.org
Thu Sep 17 16:57:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bae63742057785e03732f58d6ed1ec7bda090cc1
https://github.com/llvm/llvm-project/commit/bae63742057785e03732f58d6ed1ec7bda090cc1
Author: Sean Silva <silvasean at google.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
M mlir/test/Dialect/Shape/ops.mlir
Log Message:
-----------
[mlir][shape] Add `shape.cstr_require %bool`
This op is a catch-all for creating witnesses from various random kinds
of constraints. In particular, I when dealing with extents directly,
which are of `index` type, one can directly use std ops for calculating
the predicates, and then use cstr_require for the final conversion to a
witness.
Differential Revision: https://reviews.llvm.org/D87871
More information about the All-commits
mailing list