diff options
| author | Krasimir Georgiev <Mister Nobody the Robot> | 2022-01-17 16:20:46 +0100 |
|---|---|---|
| committer | Krasimir Georgiev <Mister Nobody the Robot> | 2022-01-17 16:20:46 +0100 |
| commit | e4607ff9804f3d2ae7feaf7d76fae48a52d798c3 (patch) | |
| tree | 9340ba594f8601653b3768f8d56e81a0efe636b9 /src | |
| parent | 853feb6964a9d531d802573f5a44d85e4d2a41b6 (diff) | |
| download | rust-e4607ff9804f3d2ae7feaf7d76fae48a52d798c3.tar.gz rust-e4607ff9804f3d2ae7feaf7d76fae48a52d798c3.zip | |
update test assertion
Diffstat (limited to 'src')
| -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 c6bb27cbd74..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* [[TLS]], align 4 + // 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* [[TLS]], align 4 + // CHECK: store i32 %0, i32* {{.*}}[[TLS]]{{.*}} // CHECK-NEXT: ret void A.with(|a| a.set(v)) } |
