llvm-mirror/test/Transforms/MemCpyOpt
Benjamin Kramer 49e40d4c4b MemCpyOpt: Turn memcpys from a constant into a memset if possible.
This allows us to compile "int cst[] = {-1, -1, -1};" into
  movl  $-1, 16(%rsp)
  movq  $-1, 8(%rsp)
instead of
  movl  _cst+8(%rip), %eax
  movl  %eax, 16(%rsp)
  movq  _cst(%rip), %rax
  movq  %rax, 8(%rsp)

llvm-svn: 122548
2010-12-24 21:17:12 +00:00
..
2008-02-24-MultipleUseofSRet.ll
2008-03-13-ReturnSlotBitcast.ll
align.ll
crash.ll fix PR8753, eliminating a case where we'd infinitely make a 2010-12-09 07:39:50 +00:00
dg.exp
form-memset2.ll
form-memset.ll
loadstore-sret.ll
memcpy-to-memset.ll MemCpyOpt: Turn memcpys from a constant into a memset if possible. 2010-12-24 21:17:12 +00:00
memcpy.ll enhance memcpyopt to zap memcpy's that have the same src/dst. 2010-12-09 07:45:45 +00:00
memmove.ll
sret.ll Implement PR8644: forwarding a memcpy value to a byval, 2010-11-21 00:28:59 +00:00