forked from OSchip/llvm-project
Fix clang/test/CodeGenCXX/alignment.cpp for -Asserts.
llvm-svn: 246992
This commit is contained in:
parent
999110f903
commit
c88d2fac7c
|
@ -110,6 +110,7 @@ namespace test0 {
|
||||||
// CHECK: [[C_P:%.*]] = alloca [[C:%.*]], align 2
|
// CHECK: [[C_P:%.*]] = alloca [[C:%.*]], align 2
|
||||||
C c;
|
C c;
|
||||||
|
|
||||||
|
// CHECK: [[CALL:%.*]] = call i32 @_Z10int_sourcev()
|
||||||
// CHECK: [[T0:%.*]] = bitcast [[C]]* [[C_P]] to i8*
|
// CHECK: [[T0:%.*]] = bitcast [[C]]* [[C_P]] to i8*
|
||||||
// CHECK: [[T1:%.*]] = getelementptr inbounds i8, i8* [[T0]], i64 8
|
// CHECK: [[T1:%.*]] = getelementptr inbounds i8, i8* [[T0]], i64 8
|
||||||
// CHECK: [[B_P:%.*]] = bitcast i8* [[T1]] to [[B]]*
|
// CHECK: [[B_P:%.*]] = bitcast i8* [[T1]] to [[B]]*
|
||||||
|
|
Loading…
Reference in New Issue