diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-18 04:42:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 04:42:10 +0100 |
| commit | b8c544de71016e86dc0b9f6718fb59b4d59e51b2 (patch) | |
| tree | 5831fed29bc5d01395139b271eb33f1b1971e782 | |
| parent | baeff67b5fed70a5bf49c050aa901d7a377bc924 (diff) | |
| parent | e4607ff9804f3d2ae7feaf7d76fae48a52d798c3 (diff) | |
Rollup merge of #93004 - krasimirgg:threadlocal-llvm-up, r=nikic
update codegen test for LLVM 14 Fixes https://github.com/rust-lang/rust/issues/93003.
| -rw-r--r-- | src/test/codegen/thread-local.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/thread-local.rs b/src/test/codegen/thread-local.rs index 5ac30d949fa..c59b088f7a6 100644 --- a/src/test/codegen/thread-local.rs +++ b/src/test/codegen/thread-local.rs @@ -19,7 +19,7 @@ thread_local!(static A: Cell<u32> = const { Cell::new(1) }); // CHECK-LABEL: @get #[no_mangle] fn get() -> u32 { - // CHECK: %0 = load i32, i32* bitcast ({{.*}} [[TLS]] to i32*) + // CHECK: %0 = load i32, i32* {{.*}}[[TLS]]{{.*}} // CHECK-NEXT: ret i32 %0 A.with(|a| a.get()) } @@ -27,7 +27,7 @@ fn get() -> u32 { // CHECK-LABEL: @set #[no_mangle] fn set(v: u32) { - // CHECK: store i32 %0, i32* bitcast ({{.*}} [[TLS]] to i32*) + // CHECK: store i32 %0, i32* {{.*}}[[TLS]]{{.*}} // CHECK-NEXT: ret void A.with(|a| a.set(v)) } |
