diff options
| author | Duncan Sands <baldrick@free.fr> | 2011-07-28 12:21:47 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2011-07-28 12:21:47 +0000 |
| commit | 483354758f974f0da572400a6b08f8ca248d0c72 (patch) | |
| tree | 0c7b5ce66149c8fe6f8c28cdb7e006aeb8c41fd9 | |
| parent | 0bbacea5b7e74b5618cabfb316440b443ed8fff3 (diff) | |
| download | bcm5719-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.cpp | 3 |
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(); }; |

