llvm-project/mlir/unittests
jfurtek 5c3b20520b [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality
This diff updates the LLVMIR dialect Fastmath flags attribute to use recently
added features of `BitEnum` attributes. Specifically, this diff uses the bit
enum "group" case to represent the `fast` value as an alias for a combination
of other values (`ninf`, `nnan`, ...), instead of using a separate integer
value. (This is in line with LLVM's fastmath flags representation.) This diff
also leverages the `printBitEnumPrimaryGroups` `tblgen` field for concise
enum printing.

The `BitEnum` features were developed for an upcoming diff that adds `fastmath`
support to the arithmetic dialect. This diff simply applies some of the relevant
new features to the LLVM dialect attribute.

Reviewed By: ftynse, Mogball

Differential Revision: https://reviews.llvm.org/D124720
2022-05-17 18:19:14 +00:00
..
Analysis [MLIR][Presburger] subtraction: add support for divs defined by equalties 2022-04-30 14:45:13 +01:00
Conversion [mlir] Trim a huge number of unnecessary dependencies on the Func dialect 2022-03-01 12:10:04 -08:00
Dialect [MLIR][Affine][Analysis] Merge FAC and FACV 2022-04-06 03:02:32 +05:30
ExecutionEngine [mlir][msan][test] Disable jit tests 2022-04-28 08:50:13 -07:00
IR [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
Interfaces [ParseResult] Mark this as LLVM_NODISCARD (like LogicalResult) and fix issues. 2022-05-13 16:28:53 +01:00
Pass [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
Rewrite Fix memory leaks in MLIR unit-tests (NFC) 2021-10-02 21:31:46 +00:00
Support [MLIR] Add forgotten directory Support to unittests cmake 2021-12-27 14:42:48 +05:30
TableGen [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality 2022-05-17 18:19:14 +00:00
Transforms [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
CMakeLists.txt Mark some MLIR tests as requiring the native target to be configured 2022-01-14 07:23:14 +00:00