This project is mirrored from https://review.mlplatform.org/tosa/tosa_mlir_translator.
Pull mirroring updated .
- Jul 29, 2025
-
-
Change-Id: Ifba5b4d65e5a81871662c160b4777b42a23dc7e3 Signed-off-by:
Luke Hutton <luke.hutton@arm.com>
-
- Jul 22, 2025
-
-
Philip742 authored
Helps platform portability Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I4b737647476e2dd931a3cb90a1a5fd5c5e2de2e9
-
- Jul 20, 2025
-
-
Peng Sun authored
Change-Id: Iee234813da4603979e641bcb4f50ec1b79a116d2 Signed-off-by:
Peng Sun <peng.sun@arm.com>
-
- Jul 14, 2025
-
-
Luke Hutton authored
Fixes a bug which caused variable_read deserialization to crash. The operator is expected to have VariableReadAttribute as opposed to None. Change-Id: I56a9381cd434cbd10ebf8d079521e12aa15a9b3b
-
- Jul 03, 2025
-
-
Currently the translator implicity converts unsigned data types to signless while serializing to a TOSA flatbuffer. This results in information loss while deserializing. This commit removes support for unsigned data types in the serializer. It is expected that the user will run `--tosa-convert-integer-type-to-signless` before serialization. Change-Id: I1f8cfb4575faf92827d53a0b4c0cf9d088acc457 Signed-off-by:
Luke Hutton <luke.hutton@arm.com>
-
- Jul 01, 2025
-
-
Peng Sun authored
Introduced a "Versioning" section describing the Calendar Versioning (CalVer) scheme used by the project. Signed-off-by:
Peng Sun <peng.sun@arm.com> Change-Id: Ia2a60bebf55676e29953d6d31cd8a6e5b1f2b222
-
- Jun 26, 2025
-
-
Philip742 authored
Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I547b7dc7797b3c22ddc7a53b3200a014b2e43295
-
- Jun 25, 2025
-
-
Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: Ic572667505dedece3f69bc0f57bf4a5837b336b2
-
- Jun 18, 2025
-
-
udaya-ranga authored
* Add mlir::NameLoc with mlir::FileLineColLoc as ChildLoc to preserve locations across serialize-deserialize iterations. * Add location information to test files and aprropriate CHECK commands Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: I48725f9c354e1bacd76b20c137e58a1b63059e70 (cherry picked from commit 67fbed32eeca2153ff7114a348d4cabd4d889ad3)
-
- Jun 09, 2025
-
-
TatWai Chong authored
Reintroduce support for the custom simplified form of COND_IF to improve readability. Additionally, an optional check has been added to TOSA validation pass in MLIR to ensure that the form of control-flow operations conform to the specification. Signed-off-by:
TatWai Chong <tatwai.chong@arm.com> Change-Id: I588e3781e2ebd3b28fa989fa570cf222138146b3
-
Updated serialization_lib 59204e4 Remove wrongly included thirdparty/flatbuffers 969f5c5 Add tests for npy serialization of cfloat types 5a579fa Remove usage of half_float Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: Ia63bfdb1db960988cf3326daf0bc854f0fa6e741
-
- Jun 06, 2025
-
-
Luke Hutton authored
This commit removes an unused variable that tried to get a result from `tosa.variable`, but `tosa.variable` does not return a result. Also added a test to prevent regression in the future. Change-Id: Ia2ac521d0a5e7df645b3cb5c3a0af8a0ed844d18 Signed-off-by:
Luke Hutton <luke.hutton@arm.com>
-
- Jun 04, 2025
-
-
Tai Ly authored
Tosa variable op interface has changed. the attribute "type" used to specify variable type, but now it specifies element type. Changed to use tosa::getVariableType(VariableOp) to get type of variable. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Idc7adc546c1f1eafacc0a96167bdb32929c7cb27
-
- Jun 03, 2025
-
-
Add location information while generating flatbuffer. serialization_lib changes: 20ad301 Add OpLocation table 4db5856 Fix addConst for lazy-data-gen for shapes 3efc846 Add TosaShape to schema 323e591 Fix warnings specific to GCC 9.4 Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: I489bd0616238217b3fd48eb8b0c1551d239f9239
-
- May 30, 2025
-
-
Signed-off-by:
Yuvaraj Venkatesh <yuvaraj.venkatesh@arm.com> Change-Id: I9770fc2262fba9ced3683e95869547379df017b9
-
- May 29, 2025
-
-
Tai Ly authored
This patch changes to make use of TosaSerializationShape in serialization library Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I36551ee88eb71574c38b9b84450a4fb4ea27b72d
-
- May 16, 2025
-
-
Ian Tayler Lessa authored
Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I54d55a6e8452c1a9f7c68047c46f51e2203b30c7
-
Ian Tayler Lessa authored
Includes several fixes for cross-platform compatibility and stricter json generation. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: Ie3c73ff8a7f0c3f042c9f4715ed91031050dfa19
-
- May 14, 2025
-
-
Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I9b83447ad3e33e2be11e3eb91432af8bf6cac0c2
-
- May 13, 2025
-
-
Won Jong Jeon authored
Add information on how to build a standalone MLIR Optimizer Driver and run unit tests. Update the versions of the tested prerequisites. Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I23503d653aaa1444697324aa7114803a72f96fa9
-
- May 09, 2025
-
-
Also add a lit test to check that the nan_mode is recovered correctly Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: Ie4a70095d733c0b71ed8bf24da9ea7f73a83bd59
-
Also change COND_IF IR format back to generic form in lit test. Since ERROR_IF checks are added in MLIR COND_IF op verifier. The existing simplified form is not supported anymore. Change-Id: If0a303303ac48af63f016eed833fdcf9dd4aaeb9 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- May 01, 2025
-
-
Michael Platings authored
With these changes it's no longer necessary for a user to make changes to their PATH before they can run the tests. The lit configuration handles it automatically. Also remove unnecessary and potentially incorrect settings from the lit configuration. Change-Id: Ibe032b0abc2c49709226535bbc0737069b80bb0d
-
- Apr 17, 2025
-
-
Tai Ly authored
Refactor to avoid .cast, .dyn_cast, .isa deprecated functions Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I1432be64a0888ab296a8d8acd8320f22b68cc1ec
-
- Apr 03, 2025
-
-
Michael Platings authored
1. Don't assume that the build directory is in the source dir. 2. Get include dirs automatically by adding a target dependency. Signed-off-by:
Michael Platings <michael.platings@arm.com> Change-Id: If6f9ff8eed45ebea977d01e79df9f0992adccd87
-
- Apr 02, 2025
-
-
Tai Ly authored
serialize uint8 as INT8 (already does not serialize uint16) remove DType.UINT8 and UINT16 from deserialization Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I03494e8b50773c7c55e98de9419805c42abba865
-
- Mar 31, 2025
-
-
Jerry-Ge authored
* Removed std::memcpy Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ie1e12ff7f9d4fe047cae05d46afd7b7b706cff42
-
Tai Ly authored
Removes Yield Op from tosa serialization lib operators Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Icc5b3caade6287eda2b95a9f79f59765fd851e42
-
- Mar 11, 2025
-
-
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Id6e303082f111b8478358bab99a538110164efd0
-
- Feb 20, 2025
-
-
TatWai Chong authored
tosa-opt is not always needed from typical projects such as torch-mlir. Set MLIR_TOSA_OPT=ON explicitly to CMake to build tosa-opt and enable lit testing. Change-Id: Ic9425a1c8cf598018b34dd5b81ad1040ae1c1183 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
Fixes some issues with markdown rendering and adjusts the installation commands to make sure executables are on the users path and reduce duplication of paths using `TRANSLATOR_BUILD` and `LLVM_BUILD`. Change-Id: Ifdaffe8235e27ea6d9fbfb146afc897ecd4c1acf Signed-off-by:
Luke Hutton <luke.hutton@arm.com>
-
- Feb 13, 2025
-
-
Luke Hutton authored
This commit changes the zero point attribute to an input to align with the 1.0 spec. Change-Id: Ida2958d5f5f7fe69d89dbe550b5db32fd79692a0 Signed-off-by:
Luke Hutton <luke.hutton@arm.com>
-
- Feb 11, 2025
-
-
udaya-ranga authored
Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: Ibeec5444a21e1f71a9fd1700bfcfcdc59a3082fa (cherry picked from commit c725f589cea936848c3713e05216fcb7c3c2cfb2)
-
- Feb 10, 2025
-
-
Peng Sun authored
* add LIT test for Rescale Op * update serialization library submodule Change-Id: I8b24d3274df83b36eca27c08c4fe1922a7e96683 Signed-off-by:
Peng Sun <peng.sun@arm.com>
-
- Feb 03, 2025
-
-
Base on the LLVM change: https://github.com/llvm/llvm-project/commit/f4943464d769e2eacd5c54dfaaf0468788abeb84 Should update the isFloat8 API to b.getType<Float*Type>() and llvm::isa<Float8*Type>() Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Idddf40416ea5e16c640ce5b49def48878b323575
-
- Jan 30, 2025
-
-
Tai Ly authored
update lit tests for recent changes in: - rescale (rounding_mode) - negate (zero points) I also added .gitignore to ignore build directory Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I2e5d2e67fdf26dd313be3964acc33c87e64d9321
-
- Jan 27, 2025
-
-
Signed-off-by:
TatWai Chong <tatwai.chong@arm.com> Change-Id: I354a1719c54e828c488378ac1c0c3c980d71ed1e
-
Change-Id: I19114488eeddc54b3bc3a00face9546f5b3efd6c Signed-off-by:
Freddie Liardet <frederick.liardet@arm.com>
-
- Jan 22, 2025
-
-
Luke Hutton authored
This commit changes the zero point attribute to an input to align with the 1.0 spec. Change-Id: I958a52d52ac3fcc74e78c04b0585f01ea170db77
-
- Jan 21, 2025
-
-
Enable serialization of `DenseResourceElementsAttr` that is commonly used for handling large constant data. Signed-off-by:
Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I93c6c27e57797b00fe49cc64b689a367724717cd
-