Skip to content

Commit 208d764

Browse files
committed
Adjust test which differs between 32 bit and 64 bit
The differences are not part of what the test is testing, so they were simply removed.
1 parent e8d357f commit 208d764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/codegen/consts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ pub fn inline_enum_const() -> E<i8, i16> {
5454
#[no_mangle]
5555
pub fn low_align_const() -> E<i16, [i16; 3]> {
5656
// Check that low_align_const and high_align_const use the same constant
57-
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0), i64 8, i32 2, i1 false)
57+
// CHECK: i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0),
5858
*&E::A(0)
5959
}
6060

6161
// CHECK-LABEL: @high_align_const
6262
#[no_mangle]
6363
pub fn high_align_const() -> E<i16, i32> {
6464
// Check that low_align_const and high_align_const use the same constant
65-
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0), i64 8, i32 4, i1 false)
65+
// CHECK: i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0),
6666
*&E::A(0)
6767
}

0 commit comments

Comments
 (0)