summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nullptr.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-05 15:20:29 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-05 15:20:29 +0000
commit6c25ca4f2bff3bd7569170e209dc22ec9ba01361 (patch)
tree2a98fe91d5f4cef921fa73be47ba2884c33aa200 /clang/test/SemaCXX/nullptr.cpp
parentb7383e6d80af774880784587b0e7d7edceb4b295 (diff)
downloadbcm5719-llvm-6c25ca4f2bff3bd7569170e209dc22ec9ba01361.tar.gz
bcm5719-llvm-6c25ca4f2bff3bd7569170e209dc22ec9ba01361.zip
When passing a parameter using the 'byval' mechanism, inline code needs to be used
to perform the copy, which may be of lots of memory [*]. It would be good if the fall-back code generated something reasonable, i.e. did the copy in a loop, rather than vast numbers of loads and stores. Add a note about this. Currently target specific code seems to always kick in so this is more of a theoretical issue rather than a practical one now that X86 has been fixed. [*] It's amazing how often people pass mega-byte long arrays by copy... llvm-svn: 118275
Diffstat (limited to 'clang/test/SemaCXX/nullptr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud