llvm-capstone/mlir
Hanhan Wang c0f4408d76 [mlir] Create a std op instead of chain of ops.
Summary:
1-bit integer is tricky in different dialects sometimes. E.g., there is no
arithmetic instructions on 1-bit integer in SPIR-V, i.e., `spv.IMul %0, %1 : i1`
is not valid. Instead, `spv.LogicalAnd %0, %1 : i1` is valid. Creating the op
directly makes lowering easier because we don't need to match a complicated
pattern like `!(!lhs && !rhs)`. Also, this matches the semantic better.

Also add assertions on inputs.

Differential Revision: https://reviews.llvm.org/D75764
2020-03-10 15:01:44 -07:00
..
cmake/modules [MLIR] Add support for libMLIR.so 2020-03-06 13:25:18 -08:00
docs [mlir][NFC] Move the operation interfaces out of Analysis/ and into a new Interfaces/ directory. 2020-03-10 12:45:45 -07:00
examples [mlir][NFC] Move the interfaces and traits for side effects out of IR/ to Interfaces/ 2020-03-10 12:45:45 -07:00
include [MLIR] Add and, or, xor, min, max too gpu.all_reduce and the nvvm lowering 2020-03-10 21:09:06 +01:00
lib [mlir] Create a std op instead of chain of ops. 2020-03-10 15:01:44 -07:00
test [mlir] Create a std op instead of chain of ops. 2020-03-10 15:01:44 -07:00
tools [mlir][vulkan-runner] Update mlir-vulkan-runner execution driver. 2020-03-10 15:58:31 -04:00
unittests Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
utils [mlir][spirv] Support implied extensions and capabilities 2020-01-17 08:01:57 -05: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] Add support for libMLIR.so 2020-03-06 13:25:18 -08: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

Multi-Level Intermediate Representation

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