We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents baeff67 + e4607ff commit b8c544dCopy full SHA for b8c544d
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* bitcast ({{.*}} [[TLS]] to i32*)
+ // 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* bitcast ({{.*}} [[TLS]] to i32*)
+ // CHECK: store i32 %0, i32* {{.*}}[[TLS]]{{.*}}
31
// CHECK-NEXT: ret void
32
A.with(|a| a.set(v))
33
0 commit comments