llvm-capstone/mlir/test/Dialect/Quant
Ulrich Weigand bb0bbed610 Fix bytecode reader/writer on big-endian platforms
This makes the bytecode reader/writer work on big-endian platforms.
The only problem was related to encoding of multi-byte integers,
where both reader and writer code make implicit assumptions about
endianness of the host platform.

This fixes the current test failures on s390x, and in addition allows
to remove the UNSUPPORTED markers from all other bytecode-related
test cases - they now also all pass on s390x.

Also adding a GFAIL_SKIP to the MultiModuleWithResource unit test,
as this still fails due to an unrelated endian bug regarding
decoding of external resources.

Differential Revision: https://reviews.llvm.org/D153567

Reviewed By: mehdi_amini, jpienaar, rriddle
2023-06-23 09:22:55 +02:00
..
Bytecode Fix bytecode reader/writer on big-endian platforms 2023-06-23 09:22:55 +02:00
canonicalize.mlir [mlir] Add test-convergence option to Canonicalizer tests 2023-01-04 12:02:21 +01:00
parse-any-invalid.mlir [mlir:Parser] Don't use strings for the "ugly" form of Attribute/Type syntax 2022-07-05 16:20:30 -07:00
parse-any.mlir [mlir] Remove the type keyword from type alias definitions 2022-05-16 13:54:02 -07:00
parse-calibrated-invalid.mlir [mlir:Parser] Don't use strings for the "ugly" form of Attribute/Type syntax 2022-07-05 16:20:30 -07:00
parse-calibrated.mlir [mlir] Remove the type keyword from type alias definitions 2022-05-16 13:54:02 -07:00
parse-uniform-invalid.mlir [mlir:Parser] Don't use strings for the "ugly" form of Attribute/Type syntax 2022-07-05 16:20:30 -07:00
parse-uniform.mlir [mlir] Remove the type keyword from type alias definitions 2022-05-16 13:54:02 -07:00