llvm-project/mlir/test/IR
Alex Zinenko 206be96e63 Support hexadecimal floats in tensor literals
Extend the recently introduced support for hexadecimal float literals to tensor
literals, which may also contain special floating point values such as
infinities and NaNs.

Modify TensorLiteralParser to store the list of tokens representing values
until the type is parsed instead of trying to guess the tensor element type
from the token kinds (hexadecimal values can be either integers or floats, and
can be mixed with both).  Maintain the error reports as close as possible to
the existing implementation to avoid disturbing the tests.  They can be
improved in a separate clean-up if deemed necessary.

PiperOrigin-RevId: 260794716
2019-07-30 14:24:59 -07:00
..
affine-map.mlir Remove "size" property of affine maps. 2019-06-01 20:09:02 -07:00
attribute.mlir [ODS] Introduce IntEnumAttr 2019-07-01 09:55:47 -07:00
check-help-output.mlir Add custom lilith script. 2019-03-29 13:02:57 -07:00
core-ops.mlir Add sitofp to the standard dialect 2019-07-23 11:23:40 -07:00
invalid-affinemap.mlir Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
invalid-func-op.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
invalid-locations.mlir Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
invalid-module-op.mlir Relax the restriction that Modules cannot contain operations producing results. 2019-07-09 11:50:13 -07:00
invalid-ops.mlir Add a `HasParent` operation trait to enforce a specific parent on an operation (NFC) 2019-07-30 06:17:11 -07:00
invalid.mlir Support hexadecimal floats in tensor literals 2019-07-30 14:24:59 -07:00
locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
memory-ops.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
module-op.mlir Refactor the parsing/printing of the top-level module. 2019-07-12 08:42:56 -07:00
op-stats.mlir Set the namespace of the StandardOps dialect to "std", but add a special case to the parser to allow parsing standard operations without the "std" prefix. This will now allow for the standard dialect to be looked up dynamically by name. 2019-03-29 16:54:20 -07:00
operand.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
parser.mlir Support hexadecimal floats in tensor literals 2019-07-30 14:24:59 -07:00
pretty-locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
region.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
repro_b120295301.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
result.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
traits.mlir Fix SingleBlockImplicitTerminator traits to catch empty blocks 2019-07-30 06:17:35 -07:00