We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 853feb6 commit e4607ffCopy full SHA for e4607ff
src/test/codegen/thread-local.rs
@@ -19,15 +19,15 @@ thread_local!(static A: Cell<u32> = const { Cell::new(1) });
19
// CHECK-LABEL: @get
20
#[no_mangle]
21
fn get() -> u32 {
22
- // CHECK: %0 = load i32, i32* [[TLS]], align 4
+ // CHECK: %0 = load i32, i32* {{.*}}[[TLS]]{{.*}}
23
// CHECK-NEXT: ret i32 %0
24
A.with(|a| a.get())
25
}
26
27
// CHECK-LABEL: @set
28
29
fn set(v: u32) {
30
- // CHECK: store i32 %0, i32* [[TLS]], align 4
+ // CHECK: store i32 %0, i32* {{.*}}[[TLS]]{{.*}}
31
// CHECK-NEXT: ret void
32
A.with(|a| a.set(v))
33
0 commit comments