diff options
| author | bors <bors@rust-lang.org> | 2022-10-03 02:09:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-03 02:09:05 +0000 |
| commit | 607b8296e07cc1bf5b95eeb60a21b5af684f7631 (patch) | |
| tree | c4bab55cbfa38022f5abf76ff4d65cfb14c5fb45 /src/test/codegen/stack-probes-inline.rs | |
| parent | 573fd5a8c52d044e3fcb6bd9b7082046d60526da (diff) | |
| parent | ed9e6f2ad82a9ad783ed89b937d2951e44b6ce4b (diff) | |
| download | rust-607b8296e07cc1bf5b95eeb60a21b5af684f7631.tar.gz rust-607b8296e07cc1bf5b95eeb60a21b5af684f7631.zip | |
Auto merge of #102503 - cuviper:x86-stack-probes, r=nagisa
Enable inline stack probes on X86 with LLVM 16 The known problems with x86 inline-asm stack probes have been solved on LLVM main (16), so this flips the switch. Anyone using bleeding-edge LLVM with rustc can start testing this, as I have done locally. We'll get more direct rust-ci when LLVM 16 branches and we start our upgrade, and we can always patch or disable it then if we find new problems. The previous attempt was #77885, reverted in #84708.
Diffstat (limited to 'src/test/codegen/stack-probes-inline.rs')
| -rw-r--r-- | src/test/codegen/stack-probes-inline.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/codegen/stack-probes-inline.rs b/src/test/codegen/stack-probes-inline.rs index 837a1610810..a6b781de531 100644 --- a/src/test/codegen/stack-probes-inline.rs +++ b/src/test/codegen/stack-probes-inline.rs @@ -2,7 +2,7 @@ // or `StackProbeType::InlineOrCall` when running on newer LLVM. // compile-flags: -C no-prepopulate-passes -// revisions: powerpc powerpc64 powerpc64le s390x +// revisions: powerpc powerpc64 powerpc64le s390x i686 x86_64 //[powerpc] compile-flags: --target powerpc-unknown-linux-gnu //[powerpc] needs-llvm-components: powerpc //[powerpc64] compile-flags: --target powerpc64-unknown-linux-gnu @@ -11,6 +11,12 @@ //[powerpc64le] needs-llvm-components: powerpc //[s390x] compile-flags: --target s390x-unknown-linux-gnu //[s390x] needs-llvm-components: systemz +//[i686] compile-flags: --target i686-unknown-linux-gnu +//[i686] needs-llvm-components: x86 +//[i686] min-llvm-version: 16 +//[x86_64] compile-flags: --target x86_64-unknown-linux-gnu +//[x86_64] needs-llvm-components: x86 +//[x86_64] min-llvm-version: 16 #![crate_type = "rlib"] #![feature(no_core, lang_items)] |
