diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-01-08 21:19:19 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-01-08 21:19:19 +0000 |
| commit | 9a1d63ba9fd2030920b53479a0113affa780d588 (patch) | |
| tree | 9b488479764b31d22c4589223e012470e2b412dd /llvm/lib/CodeGen/ELFCodeEmitter.cpp | |
| parent | 877aaa589bad47b76c48688bd322ddfdc32fe217 (diff) | |
| download | bcm5719-llvm-9a1d63ba9fd2030920b53479a0113affa780d588.tar.gz bcm5719-llvm-9a1d63ba9fd2030920b53479a0113affa780d588.zip | |
Merge memsets followed by neighboring memsets and other stores into
larger memsets. Among other things, this fixes rdar://8760394 and
allows us to handle "Example 2" from http://blog.regehr.org/archives/320,
compiling it into a single 4096-byte memset:
_mad_synth_mute: ## @mad_synth_mute
## BB#0: ## %entry
pushq %rax
movl $4096, %esi ## imm = 0x1000
callq ___bzero
popq %rax
ret
llvm-svn: 123089
Diffstat (limited to 'llvm/lib/CodeGen/ELFCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions

