Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a more detailed testcase.
test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp | ||
---|---|---|
181–184 ↗ | (On Diff #13610) | Can you tweak this test so that it checks the right argument is passed to the function? |
Comment Actions
Richard, Ok, I'll do it
Best regards,
Alexey Bataev
Software Engineer
Intel Compiler Team
27.09.2014 5:40, Richard Smith пишет:
LGTM with a more detailed testcase.
Comment at: test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp:181-184
@@ -180,6 +180,6 @@// not implemented yet.+ // CHECK: bitcast
// CHECK: getelementptr // CHECK-NEXT: %[[FUNC:.*]] = load
- CHECK-NEXT: bitcast CHECK-NEXT: = call {{.*}} %[[FUNC]] return static_cast<RA*>(x)->f(); ----------------
Can you tweak this test so that it checks the right argument is passed to the function?