From 7139a2b071210fd8e55f0cd174043391a0df227e Mon Sep 17 00:00:00 2001 From: "Eddy (Eduard) Stefes" Date: Tue, 14 Jul 2026 08:42:45 +0200 Subject: [PATCH] disable range-len-try-from.rs on s390x This optimisation is currently broken on s390x[^1]. It looks like a big-endian issue in general. but as we only know about the test fails on s390x we only disable it there. Should be reenabled when the problem is fixed and llvm backend is updated. [^1]: https://github.com/llvm/llvm-project/issues/208712 --- tests/codegen-llvm/range-len-try-from.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/codegen-llvm/range-len-try-from.rs b/tests/codegen-llvm/range-len-try-from.rs index e8f204b45e81b..9e23fd67bcd9c 100644 --- a/tests/codegen-llvm/range-len-try-from.rs +++ b/tests/codegen-llvm/range-len-try-from.rs @@ -4,6 +4,7 @@ //@ compile-flags: -Copt-level=3 //@ only-64bit +//@ ignore-s390x OPT missing on s390x https://github.com/llvm/llvm-project/issues/208712 #![crate_type = "lib"]