llvm-project/mlir/test/EDSC
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
..
CMakeLists.txt Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
builder-api-test.cpp [mlir] Create a std op instead of chain of ops. 2020-03-10 15:01:44 -07:00
lit.local.cfg Make EDSC builder test more robust to the order of evaluation 2019-06-01 19:56:34 -07:00