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.
This commit is contained in:
Oliver Schneider 2018-02-22 16:56:14 +01:00
parent e8d357f070
commit 208d764833
No known key found for this signature in database
GPG Key ID: A69F8D225B3AD7D9

View File

@ -54,7 +54,7 @@ pub fn inline_enum_const() -> E<i8, i16> {
#[no_mangle] #[no_mangle]
pub fn low_align_const() -> E<i16, [i16; 3]> { pub fn low_align_const() -> E<i16, [i16; 3]> {
// Check that low_align_const and high_align_const use the same constant // Check that low_align_const and high_align_const use the same constant
// 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) // CHECK: i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0),
*&E::A(0) *&E::A(0)
} }
@ -62,6 +62,6 @@ pub fn low_align_const() -> E<i16, [i16; 3]> {
#[no_mangle] #[no_mangle]
pub fn high_align_const() -> E<i16, i32> { pub fn high_align_const() -> E<i16, i32> {
// Check that low_align_const and high_align_const use the same constant // Check that low_align_const and high_align_const use the same constant
// 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) // CHECK: i8* getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* [[LOW_HIGH]], i32 0, i32 0, i32 0),
*&E::A(0) *&E::A(0)
} }