Files
clang-p2996/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
Paul Robinson f79d941575 [MLIR/S90x] Convert tests to check 'target=...'
Part of the project to eliminate special handling for triples in lit
expressions.
2022-12-09 07:28:36 -08:00

23 lines
1022 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: target=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