llvm-project/mlir/lib
Stella Laurenzo a201829a20 Fix parsing of hex-format index dense tensor attributes.
TensorLiteralParser::getHexAttr does a isIntOrIndexOrFloat check and properly handles index elements, but TensorLiteralParser::getAttr that calls into it has a mismatched check. This just makes the checks match so that index element attrs can parse when of type tensor.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D111374
2021-10-08 15:44:02 +00:00
..
Analysis [MLIR][NFC] Drop unnecessary use of OpBuilder in build trip count map 2021-10-03 09:25:18 +05:30
Bindings/Python [mlir][python] Temporarily disable test for converting unsupported DenseElementsAttr types to a buffer. 2021-10-07 11:50:57 -07:00
CAPI [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr. 2021-10-07 08:42:12 -07:00
Conversion [mlir][vector] Split populateVectorContractLoweringPatterns 2021-10-07 09:39:26 -04:00
Dialect [mlir][linalg][bufferize] Rewrite "write into non-writable memory" detection 2021-10-08 21:27:49 +09:00
ExecutionEngine [mlir][sparse] Correcting a few typos 2021-09-30 11:42:46 -07:00
IR [mlir] Extend C and Python API to support bulk loading of DenseElementsAttr. 2021-10-07 08:42:12 -07:00
Interfaces [mlir] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:57:20 +01:00
Parser Fix parsing of hex-format index dense tensor attributes. 2021-10-08 15:44:02 +00:00
Pass [mlir:Pass] Generate a reproducer as early as possible 2021-10-05 18:11:26 +00:00
Reducer [mlir] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:57:20 +01:00
Rewrite [SymbolRefAttr] Revise SymbolRefAttr to hold a StringAttr. 2021-08-29 21:54:47 -07:00
Support Free memory leak on duplicate interface registration 2021-10-02 16:41:28 +00:00
TableGen [mlir] Fix redundant return in the void method. 2021-10-06 18:45:30 +00:00
Target [lldb, mlir] Migrate from getNumArgOperands and arg_operands (NFC) 2021-10-07 08:29:42 -07:00
Tools [mlir-lsp-server] Only use one MLIRContext per MLIRTextFile 2021-08-04 20:09:07 +00:00
Transforms Return failure on failure in convertBlockSignature. 2021-10-06 15:35:31 -07:00
Translation [mlir] run the verifier before translating a module 2021-07-28 18:15:58 +02:00
CMakeLists.txt Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00