summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-07-28 12:21:47 +0000
committerDuncan Sands <baldrick@free.fr>2011-07-28 12:21:47 +0000
commit483354758f974f0da572400a6b08f8ca248d0c72 (patch)
tree0c7b5ce66149c8fe6f8c28cdb7e006aeb8c41fd9
parent0bbacea5b7e74b5618cabfb316440b443ed8fff3 (diff)
downloadbcm5719-llvm-483354758f974f0da572400a6b08f8ca248d0c72.tar.gz
bcm5719-llvm-483354758f974f0da572400a6b08f8ca248d0c72.zip
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. llvm-svn: 136349
-rw-r--r--llvm/test/FrontendC++/ptr-to-method-devirt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/FrontendC++/ptr-to-method-devirt.cpp b/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
index a5ca5c76559..654df53fc1b 100644
--- a/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
+++ b/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
@@ -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(); };
OpenPOWER on IntegriCloud