From: Duncan Sands Date: Thu, 28 Jul 2011 12:21:47 +0000 (+0000) Subject: Due to changes coming from the new LLVM type system, you now get X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a079eb6abdfb8d04a89c620dda874b40d543798;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136349 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FrontendC++/ptr-to-method-devirt.cpp b/test/FrontendC++/ptr-to-method-devirt.cpp index a5ca5c76559..654df53fc1b 100644 --- a/test/FrontendC++/ptr-to-method-devirt.cpp +++ b/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(); };