r236155 - Stop assuming a 64-bit target here.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Apr 29 13:49:22 PDT 2015
Author: rsmith
Date: Wed Apr 29 15:49:22 2015
New Revision: 236155
URL: http://llvm.org/viewvc/llvm-project?rev=236155&view=rev
Log:
Stop assuming a 64-bit target here.
Modified:
cfe/trunk/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
Modified: cfe/trunk/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/copy-constructor-synthesis-2.cpp?rev=236155&r1=236154&r2=236155&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/copy-constructor-synthesis-2.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/copy-constructor-synthesis-2.cpp Wed Apr 29 15:49:22 2015
@@ -10,15 +10,15 @@ extern PR23373 pr23373_a;
PR23373 pr23373_b(pr23373_a);
// CHECK-LABEL: define {{.*}} @__cxx_global_var_init(
-// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}} @pr23373_b{{.*}}, {{.*}} @pr23373_a{{.*}}, i64 4, i32 4, i1 false)
+// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}} @pr23373_b{{.*}}, {{.*}} @pr23373_a{{.*}}, i{{32|64}} 4, i32 4, i1 false)
PR23373 pr23373_f() { return pr23373_a; }
// CHECK-LABEL: define {{.*}} @_Z9pr23373_fv(
-// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}}, i64 4, i32 4, i1 false)
+// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}}, i{{32|64}} 4, i32 4, i1 false)
void pr23373_g(PR23373 &a, PR23373 &b) { a = b; }
// CHECK-LABEL: define {{.*}} @_Z9pr23373_g
-// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}}, i64 4, i32 4, i1 false)
+// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64({{.*}}, i{{32|64}} 4, i32 4, i1 false)
struct A { virtual void a(); };
A x(A& y) { return y; }
More information about the cfe-commits
mailing list