forked from OSchip/llvm-project
5c3b20520b
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 |
||
---|---|---|
.. | ||
AttrOrTypeDefGen.cpp | ||
AttrOrTypeFormatGen.cpp | ||
AttrOrTypeFormatGen.h | ||
CMakeLists.txt | ||
CodeGenHelpers.cpp | ||
DialectGen.cpp | ||
DialectGenUtilities.h | ||
DirectiveCommonGen.cpp | ||
DocGenUtilities.h | ||
EnumsGen.cpp | ||
FormatGen.cpp | ||
FormatGen.h | ||
LLVMIRConversionGen.cpp | ||
LLVMIRIntrinsicGen.cpp | ||
OpClass.cpp | ||
OpClass.h | ||
OpDefinitionsGen.cpp | ||
OpDocGen.cpp | ||
OpFormatGen.cpp | ||
OpFormatGen.h | ||
OpGenHelpers.cpp | ||
OpGenHelpers.h | ||
OpInterfacesGen.cpp | ||
OpPythonBindingGen.cpp | ||
PassCAPIGen.cpp | ||
PassDocGen.cpp | ||
PassGen.cpp | ||
RewriterGen.cpp | ||
SPIRVUtilsGen.cpp | ||
StructsGen.cpp | ||
mlir-tblgen.cpp |