Skip to content

Commit f2ad997

Browse files
committed
Handle extra attributes in repeat-trusted-len.rs test
1 parent e365bc7 commit f2ad997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/codegen/repeat-trusted-len.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ pub fn helper(_: usize) {
1313
// CHECK-LABEL: @repeat_take_collect
1414
#[no_mangle]
1515
pub fn repeat_take_collect() -> Vec<u8> {
16-
// CHECK: call void @llvm.memset.p0i8.[[USIZE]](i8* {{(nonnull )?}}align 1 %{{[0-9]+}}, i8 42, [[USIZE]] 100000, i1 false)
16+
// CHECK: call void @llvm.memset.p0i8.[[USIZE]](i8* {{(nonnull )?}}align 1{{.*}} %{{[0-9]+}}, i8 42, [[USIZE]] 100000, i1 false)
1717
iter::repeat(42).take(100000).collect()
1818
}

0 commit comments

Comments
 (0)