[cfe-commits] r164879 - /cfe/trunk/test/CodeGen/tbaa-struct.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Sep 28 19:00:04 PDT 2012
Author: chapuni
Date: Fri Sep 28 21:00:04 2012
New Revision: 164879
URL: http://llvm.org/viewvc/llvm-project?rev=164879&view=rev
Log:
clang/test/CodeGen/tbaa-struct.cpp: Fix. Be aware of 32 bit pointer.
Modified:
cfe/trunk/test/CodeGen/tbaa-struct.cpp
Modified: cfe/trunk/test/CodeGen/tbaa-struct.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/tbaa-struct.cpp?rev=164879&r1=164878&r2=164879&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/tbaa-struct.cpp (original)
+++ cfe/trunk/test/CodeGen/tbaa-struct.cpp Fri Sep 28 21:00:04 2012
@@ -12,5 +12,6 @@
*a = *b;
}
-// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %{{.*}}, i8* %{{.*}}, i64 16, i32 4, i1 false), !tbaa.struct [[TS:!.*]]
+// CHECK: target datalayout = "{{.*}}p:[[P:64|32]]
+// CHECK: call void @llvm.memcpy.p0i8.p0i8.i[[P]](i8* %{{.*}}, i8* %{{.*}}, i[[P]] 16, i32 4, i1 false), !tbaa.struct [[TS:!.*]]
// CHECK: [[TS]] = metadata !{i64 0, i64 2, metadata !{{.*}}, i64 4, i64 4, metadata !{{.*}}, i64 8, i64 1, metadata !{{.*}}, i64 12, i64 4, metadata !{{.*}}}
More information about the cfe-commits
mailing list