[Mlir-commits] [mlir] [mlir] Skip invalid test on big endian platform (s390x) (PR #80246)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jan 31 22:36:05 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-llvm

Author: Kai Sasaki (Lewuathe)

<details>
<summary>Changes</summary>

The buildbot test running on s390x platform keeps failing since [this time](https://lab.llvm.org/buildbot/#/builders/199/builds/31136). This is because of the dependency on the endianness of the platform. It expects the format invalid in the big endian platform (s390x). We can simply skip it.  

See: https://discourse.llvm.org/t/mlir-s390x-linux-failure/76695

---
Full diff: https://github.com/llvm/llvm-project/pull/80246.diff


1 Files Affected:

- (modified) mlir/test/Target/LLVMIR/llvmir.mlir (+3) 


``````````diff
diff --git a/mlir/test/Target/LLVMIR/llvmir.mlir b/mlir/test/Target/LLVMIR/llvmir.mlir
index 448aa3a5d85d7..816f6dd03aad7 100644
--- a/mlir/test/Target/LLVMIR/llvmir.mlir
+++ b/mlir/test/Target/LLVMIR/llvmir.mlir
@@ -1,5 +1,8 @@
 // RUN: mlir-translate -mlir-to-llvmir -split-input-file %s | FileCheck %s
 
+// Decoding the attribute does not work on big-endian platforms currently
+// XFAIL: target=s390x-{{.*}}
+
 // CHECK: @global_aligned32 = private global i64 42, align 32
 "llvm.mlir.global"() ({}) {sym_name = "global_aligned32", global_type = i64, value = 42 : i64, linkage = #llvm.linkage<private>, alignment = 32} : () -> ()
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/80246


More information about the Mlir-commits mailing list