diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-04 19:49:30 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-04 19:49:30 +0000 |
commit | dfb0ad30a87eb77eeda5faf35d4ad61f0c631322 (patch) | |
tree | 642787d97b2dfd667c3425616765a9c9a6564b69 /llvm/test/CodeGen/X86/global-sections.ll | |
parent | 3ef86dc7da4c91fbfe5034199d599b76a1557282 (diff) | |
download | bcm5719-llvm-dfb0ad30a87eb77eeda5faf35d4ad61f0c631322.tar.gz bcm5719-llvm-dfb0ad30a87eb77eeda5faf35d4ad61f0c631322.zip |
raw_ostream: while it is generally desirable to do larger writes, it can lead to
inefficient file system buffering if the writes are not a multiple of the desired
buffer size. Avoid this by limiting the large write to a multiple of the buffer
size and copying the remainder into the buffer.
Thanks to Dan for pointing this out.
llvm-svn: 127026
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
0 files changed, 0 insertions, 0 deletions