[llvm-commits] [llvm] r136349 - /llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp
Duncan Sands
baldrick at free.fr
Thu Jul 28 05:21:47 PDT 2011
Author: baldrick
Date: Thu Jul 28 07:21:47 2011
New Revision: 136349
URL: http://llvm.org/viewvc/llvm-project?rev=136349&view=rev
Log:
Due to changes coming from the new LLVM type system, you now get
bitcasts in this test rather than getelementptr instructions;
llvm-gcc produces two bitcasts, clang produces one.
Modified:
llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp
Modified: llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/ptr-to-method-devirt.cpp?rev=136349&r1=136348&r2=136349&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp (original)
+++ llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp Thu Jul 28 07:21:47 2011
@@ -1,6 +1,7 @@
// PR1602
// RUN: %llvmgxx -S %s -o - -O3 | not grep ptrtoint
-// RUN: %llvmgxx -S %s -o - -O3 | grep getelementptr | count 1
+// RUN: %llvmgxx -S %s -o - -O3 | not grep getelementptr
+// RUN: %llvmgxx -S %s -o - -O3 | grep bitcast
struct S { virtual void f(); };
More information about the llvm-commits
mailing list