aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/member-function-pointers.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-11 03:45:59 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-11 03:45:59 +0000
commit10014aa55cf58b971dd6f33767322549551ee07a (patch)
treee142488a7ba6a9ae3df9d2547f5e2c594224273b /test/CodeGenCXX/member-function-pointers.cpp
parentb4b817d704287836b52b34369009e682f208aa2b (diff)
Rewrite splitLines using StringRef; this is much simpler, and also now avoids
tons of std::string trashing. I plan to move this and other fun string munging utilities to a StringRefExtras.h at some point if no one beats me to it. On a synthetic benchmark on x86_64, llvm-gcc actually generates code thats 10% faster using the StringRef version. gcc miscompiles the synthetic benchmark, which I'm crossing my fingers and hoping won't happen here. clang compiles the sythetic benchmark correctly (wootness), but the StringRef version is slower. Silly clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/member-function-pointers.cpp')
0 files changed, 0 insertions, 0 deletions