Skip to content

Commit e4607ff

Browse files
Krasimir GeorgievKrasimir Georgiev
Krasimir Georgiev
authored and
Krasimir Georgiev
committed
update test assertion
1 parent 853feb6 commit e4607ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/codegen/thread-local.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ thread_local!(static A: Cell<u32> = const { Cell::new(1) });
1919
// CHECK-LABEL: @get
2020
#[no_mangle]
2121
fn get() -> u32 {
22-
// CHECK: %0 = load i32, i32* [[TLS]], align 4
22+
// CHECK: %0 = load i32, i32* {{.*}}[[TLS]]{{.*}}
2323
// CHECK-NEXT: ret i32 %0
2424
A.with(|a| a.get())
2525
}
2626

2727
// CHECK-LABEL: @set
2828
#[no_mangle]
2929
fn set(v: u32) {
30-
// CHECK: store i32 %0, i32* [[TLS]], align 4
30+
// CHECK: store i32 %0, i32* {{.*}}[[TLS]]{{.*}}
3131
// CHECK-NEXT: ret void
3232
A.with(|a| a.set(v))
3333
}

0 commit comments

Comments
 (0)