[cfe-commits] r78310 - /cfe/trunk/test/CodeGenCXX/virt.cpp
Mike Stump
mrs at apple.com
Thu Aug 6 07:16:20 PDT 2009
Author: mrs
Date: Thu Aug 6 09:16:19 2009
New Revision: 78310
URL: http://llvm.org/viewvc/llvm-project?rev=78310&view=rev
Log:
Let's remember we want better codegen for these.
Modified:
cfe/trunk/test/CodeGenCXX/virt.cpp
Modified: cfe/trunk/test/CodeGenCXX/virt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virt.cpp?rev=78310&r1=78309&r2=78310&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virt.cpp Thu Aug 6 09:16:19 2009
@@ -42,6 +42,8 @@
F f;
static int sz = (char *)(&f.f) - (char *)(&f);
j = sz;
+ // FIXME: These should result in a frontend constant a la fold, no run time
+ // initializer
// CHECK-LP32: movl $4, __ZZ5test2vE2sz
// CHECK-LP64: movl $8, __ZZ5test2vE2sz(%rip)
}
More information about the cfe-commits
mailing list