[mlir] Fix bots after bytecode support was added in D131747

* Fix ambiguous Twine constructor call
* Ensure shift is 64-bit (for MSVC)
* Disable bytecode tests on s390x (we don't support big endian right now)
This commit is contained in:
River Riddle
2022-08-22 01:31:31 -07:00
parent a1c42cb803
commit 93cf0e8a28
9 changed files with 23 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
// RUN: mlir-opt -allow-unregistered-dialect -emit-bytecode %s | mlir-opt -allow-unregistered-dialect | FileCheck %s
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
// CHECK-LABEL: "bytecode.test1"
// CHECK-NEXT: "bytecode.empty"() : () -> ()
// CHECK-NEXT: "bytecode.attributes"() {attra = 10 : i64, attrb = #bytecode.attr} : () -> ()

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// the dialect section.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Dialect Name
//===--------------------------------------------------------------------===//

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// the IR section.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Operations
//===--------------------------------------------------------------------===//

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// the string section.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Count
//===--------------------------------------------------------------------===//

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// a bytecode file.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Version
//===--------------------------------------------------------------------===//

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// the attribute/type offset section.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Offset
//===--------------------------------------------------------------------===//

View File

@@ -1,6 +1,9 @@
// This file contains various failure test cases related to the structure of
// the attribute/type offset section.
// Bytecode currently does not support big-endian platforms
// XFAIL: s390x-
//===--------------------------------------------------------------------===//
// Index
//===--------------------------------------------------------------------===//