[Mlir-commits] [mlir] f79d941 - [MLIR/S90x] Convert tests to check 'target=...'

Paul Robinson llvmlistbot at llvm.org
Fri Dec 9 07:28:52 PST 2022


Author: Paul Robinson
Date: 2022-12-09T07:28:36-08:00
New Revision: f79d941575cca6adb547a2eb23bbab01ad6f7044

URL: https://github.com/llvm/llvm-project/commit/f79d941575cca6adb547a2eb23bbab01ad6f7044
DIFF: https://github.com/llvm/llvm-project/commit/f79d941575cca6adb547a2eb23bbab01ad6f7044.diff

LOG: [MLIR/S90x] Convert tests to check 'target=...'

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    mlir/test/Bytecode/general.mlir
    mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
    mlir/test/Bytecode/invalid/invalid-ir_section.mlir
    mlir/test/Bytecode/invalid/invalid-string_section.mlir
    mlir/test/Bytecode/invalid/invalid-structure.mlir
    mlir/test/Bytecode/invalid/invalid_attr_type_offset_section.mlir
    mlir/test/Bytecode/invalid/invalid_attr_type_section.mlir
    mlir/test/Bytecode/resources.mlir
    mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
    mlir/test/Dialect/Builtin/Bytecode/types.mlir
    mlir/test/Dialect/Quant/Bytecode/types.mlir
    mlir/test/IR/elements-attr-interface.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Bytecode/general.mlir b/mlir/test/Bytecode/general.mlir
index 7943600c817d6..957c35dee8002 100644
--- a/mlir/test/Bytecode/general.mlir
+++ b/mlir/test/Bytecode/general.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt -allow-unregistered-dialect -emit-bytecode %s | mlir-opt -allow-unregistered-dialect | FileCheck %s
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 // CHECK-LABEL: "bytecode.test1"
 // CHECK-NEXT:    "bytecode.empty"() : () -> ()

diff  --git a/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir b/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
index 8602ef39175cc..31558bd1a5432 100644
--- a/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
+++ b/mlir/test/Bytecode/invalid/invalid-dialect_section.mlir
@@ -2,7 +2,7 @@
 // the dialect section.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Dialect Name

diff  --git a/mlir/test/Bytecode/invalid/invalid-ir_section.mlir b/mlir/test/Bytecode/invalid/invalid-ir_section.mlir
index d4ba6741c2b94..e8ea9c3a3ae29 100644
--- a/mlir/test/Bytecode/invalid/invalid-ir_section.mlir
+++ b/mlir/test/Bytecode/invalid/invalid-ir_section.mlir
@@ -2,7 +2,7 @@
 // the IR section.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Operations

diff  --git a/mlir/test/Bytecode/invalid/invalid-string_section.mlir b/mlir/test/Bytecode/invalid/invalid-string_section.mlir
index 13f71037e295f..64ec9fc93a49f 100644
--- a/mlir/test/Bytecode/invalid/invalid-string_section.mlir
+++ b/mlir/test/Bytecode/invalid/invalid-string_section.mlir
@@ -2,7 +2,7 @@
 // the string section.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Count

diff  --git a/mlir/test/Bytecode/invalid/invalid-structure.mlir b/mlir/test/Bytecode/invalid/invalid-structure.mlir
index 544f6a45e76d4..8b70a3ff25d9a 100644
--- a/mlir/test/Bytecode/invalid/invalid-structure.mlir
+++ b/mlir/test/Bytecode/invalid/invalid-structure.mlir
@@ -2,7 +2,7 @@
 // a bytecode file.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Version

diff  --git a/mlir/test/Bytecode/invalid/invalid_attr_type_offset_section.mlir b/mlir/test/Bytecode/invalid/invalid_attr_type_offset_section.mlir
index 46d192ebc70ef..376a26098cc5a 100644
--- a/mlir/test/Bytecode/invalid/invalid_attr_type_offset_section.mlir
+++ b/mlir/test/Bytecode/invalid/invalid_attr_type_offset_section.mlir
@@ -2,7 +2,7 @@
 // the attribute/type offset section.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Offset

diff  --git a/mlir/test/Bytecode/invalid/invalid_attr_type_section.mlir b/mlir/test/Bytecode/invalid/invalid_attr_type_section.mlir
index cad9a39805a9a..359cd0b1d3950 100644
--- a/mlir/test/Bytecode/invalid/invalid_attr_type_section.mlir
+++ b/mlir/test/Bytecode/invalid/invalid_attr_type_section.mlir
@@ -2,7 +2,7 @@
 // the attribute/type offset section.
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===--------------------------------------------------------------------===//
 // Index

diff  --git a/mlir/test/Bytecode/resources.mlir b/mlir/test/Bytecode/resources.mlir
index 467bfaf47f71f..187101acac479 100644
--- a/mlir/test/Bytecode/resources.mlir
+++ b/mlir/test/Bytecode/resources.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 // CHECK-LABEL: @TestDialectResources
 module @TestDialectResources attributes {

diff  --git a/mlir/test/Dialect/Builtin/Bytecode/attrs.mlir b/mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
index 97fc3001b64c3..2702a159be96a 100644
--- a/mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
+++ b/mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt -emit-bytecode -allow-unregistered-dialect %s | mlir-opt -allow-unregistered-dialect -mlir-print-local-scope | FileCheck %s
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===----------------------------------------------------------------------===//
 // ArrayAttr

diff  --git a/mlir/test/Dialect/Builtin/Bytecode/types.mlir b/mlir/test/Dialect/Builtin/Bytecode/types.mlir
index 9f16bcf495cec..f6d0fa79d1254 100644
--- a/mlir/test/Dialect/Builtin/Bytecode/types.mlir
+++ b/mlir/test/Dialect/Builtin/Bytecode/types.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===----------------------------------------------------------------------===//
 // ComplexType

diff  --git a/mlir/test/Dialect/Quant/Bytecode/types.mlir b/mlir/test/Dialect/Quant/Bytecode/types.mlir
index 457d636aab214..669f8ed233f5b 100644
--- a/mlir/test/Dialect/Quant/Bytecode/types.mlir
+++ b/mlir/test/Dialect/Quant/Bytecode/types.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
 
 // Bytecode currently does not support big-endian platforms
-// UNSUPPORTED: s390x-
+// UNSUPPORTED: target=s390x-{{.*}}
 
 //===----------------------------------------------------------------------===//
 // AnyQuantized

diff  --git a/mlir/test/IR/elements-attr-interface.mlir b/mlir/test/IR/elements-attr-interface.mlir
index aac87f24ae31f..e5f17d043f1aa 100644
--- a/mlir/test/IR/elements-attr-interface.mlir
+++ b/mlir/test/IR/elements-attr-interface.mlir
@@ -1,7 +1,7 @@
 // RUN: mlir-opt %s -test-elements-attr-interface -verify-diagnostics
 
 // Parsing external resources does not work on big-endian platforms currently
-// XFAIL: s390x-
+// XFAIL: target=s390x-{{.*}}
 
 // This test contains various `ElementsAttr` attributes, and tests the support
 // for iterating the values of these attributes using various native C++ types.


        


More information about the Mlir-commits mailing list