Files
clang-p2996/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
River Riddle df4e637ca7 [mlir:Bytecode] Use UNSUPPORTED instead of XFAIL for s390x
Some tests still pass even though we don't claim big-endian support. Using
UNSUPPORTED is a better indicator than XFAIL that we don't guarantee that
the tests work.
2022-08-23 16:56:04 -07:00

23 lines
1009 B
MLIR

// This file contains various failure test cases related to the structure of
// the dialect section.
// Bytecode currently does not support big-endian platforms
// UNSUPPORTED: s390x-
//===--------------------------------------------------------------------===//
// Dialect Name
//===--------------------------------------------------------------------===//
// RUN: not mlir-opt %S/invalid-dialect_section-dialect_string.mlirbc 2>&1 | FileCheck %s --check-prefix=DIALECT_STR
// DIALECT_STR: invalid string index: 15
//===--------------------------------------------------------------------===//
// OpName
//===--------------------------------------------------------------------===//
// RUN: not mlir-opt %S/invalid-dialect_section-opname_dialect.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_DIALECT
// OPNAME_DIALECT: invalid dialect index: 7
// RUN: not mlir-opt %S/invalid-dialect_section-opname_string.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_STR
// OPNAME_STR: invalid string index: 31