llvm-project/mlir/test/IR
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
..
affine-map.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
attribute-roundtrip.mlir [mlir] Remove special case parsing/printing of `func` operations 2022-05-06 13:36:15 -07:00
attribute.mlir [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality 2022-05-17 18:19:14 +00:00
check-help-output.mlir
core-ops.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
dense-elements-hex.mlir [mlir] Convert raw data in dense element attributes for big-endian machines. 2020-10-28 17:06:16 -07:00
diagnostic-handler-filter.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
diagnostic-handler.mlir [mlir:ODS] Support using attributes in AllTypesMatch to automatically add InferTypeOpInterface 2022-04-28 12:57:59 -07:00
dynamic.mlir [mlir] Remove special case parsing/printing of `func` operations 2022-05-06 13:36:15 -07:00
elements-attr-interface.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
enum-attr-invalid.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
enum-attr-roundtrip.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
generic-visitors-interrupt.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
generic-visitors.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
invalid-affinemap.mlir [OpAsmParser] Add a parseCommaSeparatedList helper and beef up Delimeter. 2021-09-20 20:59:11 -07:00
invalid-func-op.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
invalid-locations.mlir [AsmParser] Adopt emitWrongTokenError more, improving QoI 2022-05-11 20:41:12 +01:00
invalid-module-op.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
invalid-ops.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
invalid-unregistered.mlir [mlir] Remove the `type` keyword from type alias definitions 2022-05-16 13:54:02 -07:00
invalid.mlir [mlir] Remove the `type` keyword from type alias definitions 2022-05-16 13:54:02 -07:00
locations.mlir [AsmParser] Introduce a new "Argument" abstraction + supporting logic 2022-04-29 12:19:34 -07:00
memory-ops.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
module-op.mlir Define a `NoTerminator` traits that allows operations with a single block region to not provide a terminator 2021-03-25 03:59:03 +00:00
op-stats.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
opaque_locations.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
operand.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
operation-equality.mlir Implement recursive support into OperationEquivalence::isEquivalentTo() 2021-07-29 05:06:37 +00:00
parser.mlir [mlir] Remove the `type` keyword from type alias definitions 2022-05-16 13:54:02 -07:00
pretty-attributes.mlir Change elided large constant syntax to make it more explicit 2022-01-19 20:41:42 +00:00
pretty-locations.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
pretty-region-args.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
pretty_printed_region_op.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
print-attr-type-aliases.mlir [mlir] Remove the `type` keyword from type alias definitions 2022-05-16 13:54:02 -07:00
print-ir-defuse.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
print-ir-invalid.mlir [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
print-ir-nesting.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
print-op-generic.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
print-op-local-scope.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
print-op-on-diagnostic.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
print-value-users.mlir [mlir] Remove special case parsing/printing of `func` operations 2022-05-06 13:36:15 -07:00
recursive-type.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
region.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
repro_b120295301.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
result.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
slice.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-clone.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-func-erase-arg.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-func-erase-result.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-func-insert-arg.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-func-insert-result.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-func-set-type.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-matchers.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-side-effects.mlir Add a mechanism for Dialects to provide a fallback for OpInterface 2021-03-24 08:41:40 +00:00
test-symbol-rauw.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-symbol-uses.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
test-take-body.mlir [mlir] Remove special case parsing/printing of `func` operations 2022-05-06 13:36:15 -07:00
test-verification-order.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
traits.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
visitors.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
wrapping_op.mlir [mlir][NFC] Update textual references of `func` to `func.func` in IR/Interface tests 2022-04-20 22:17:30 -07:00
zero_whitespace.mlir [mlir][NFC] Update remaining textual references of un-namespaced `func` operations 2022-04-20 22:17:31 -07:00