Skip to content

Commit 634ce8c

Browse files
committed
tests/codegen: ignore x86-64-v3 in issue-101082 for now
LLVM is struggling to optimize this test when AVX is enabled, but there's not much Rust can be expected to do about it. Let's ignore that part until we learn more on the LLVM side, hopefully fixed and updated.
1 parent e643f59 commit 634ce8c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/codegen/issues/issue-101082.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
//@ compile-flags: -Copt-level=3
2-
//@ revisions: host x86-64-v3
2+
//@ revisions: host x86-64 x86-64-v3
33
//@ min-llvm-version: 20
44

5-
// This particular CPU regressed in #131563
5+
//@[host] ignore-x86_64
6+
7+
// Set the base cpu explicitly, in case the default has been changed.
8+
//@[x86-64] only-x86_64
9+
//@[x86-64] compile-flags: -Ctarget-cpu=x86-64
10+
11+
// FIXME(cuviper) x86-64-v3 in particular regressed in #131563, and the
12+
// workaround at the time still sometimes fails, so ignore it for now.
13+
// - https://github.com/llvm/llvm-project/issues/134513
14+
// - https://github.com/llvm/llvm-project/issues/134735
15+
//@[x86-64-v3] ignore-test
616
//@[x86-64-v3] only-x86_64
717
//@[x86-64-v3] compile-flags: -Ctarget-cpu=x86-64-v3
818

0 commit comments

Comments
 (0)