llvm-project/mlir
River Riddle 7f85adb54d [mlir][Standard] Allow select to use an i1 for vector and tensor values
It currently requires that the condition match the shape of the selected value, but this is only really useful for things like masks. This revision allows for the use of i1 to mean that all of the vector/tensor is selected. This also matches the behavior of LLVM select. A benefit of this change is that transformations that want to generate selects, like those on the CFG, don't have to special case vector/tensor. Previously the only way to generate  a select from an i1 was to use a splat, but that doesn't support dynamically shaped/unranked tensors.

Differential Revision: https://reviews.llvm.org/D78690
2020-04-23 04:50:09 -07:00
..
cmake/modules [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03:00
docs [mlir] NFC: Fix trivial typo under Dialects 2020-04-23 14:28:41 +09:00
examples [mlir][NFC] Fix typo in the standalone dialect README. 2020-04-21 16:55:04 +02:00
include [mlir][Standard] Allow select to use an i1 for vector and tensor values 2020-04-23 04:50:09 -07:00
lib [mlir][Standard] Allow select to use an i1 for vector and tensor values 2020-04-23 04:50:09 -07:00
test [mlir][Standard] Allow select to use an i1 for vector and tensor values 2020-04-23 04:50:09 -07:00
tools [mlir][vulkan-runner] Add support for integer types. 2020-04-22 19:42:39 +03:00
unittests [llvm][StringExtras] Merge StringExtras from MLIR into LLVM 2020-04-14 18:57:22 -07:00
utils [mlir][spirv] NFC: use Optional to replace SPV_Optional 2020-04-13 15:44:06 -04:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.