llvm-project/mlir/tools
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
..
mlir-cpu-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
mlir-linalg-ods-gen [mlir][linalg] Add ods-gen helper to simplify the build methods. 2022-04-20 13:14:38 +00:00
mlir-lsp-server [mlir:Analysis] Move the LoopAnalysis library to Dialect/Affine/Analysis 2022-01-18 10:28:22 -08:00
mlir-opt [mlir][PDLL] Add support for generating PDL patterns from PDLL at build time 2022-04-26 18:33:16 -07:00
mlir-parser-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
mlir-pdll [MLIR] Fix build with make 2022-05-06 14:52:35 +02:00
mlir-pdll-lsp-server [mlir][PDLL] Add an initial language server for PDLL 2022-03-19 13:28:23 -07:00
mlir-reduce [MLIR] Move TestDialect to ::test namespace 2021-08-14 13:24:41 -07:00
mlir-shlib [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-spirv-cpu-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
mlir-tblgen [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality 2022-05-17 18:19:14 +00:00
mlir-translate [mlir][NFC] Move Translation.h to a Tools/mlir-translate directory 2022-03-07 01:05:38 -08:00
mlir-vulkan-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
tblgen-lsp-server [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00
CMakeLists.txt [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00