Go to file
Shuxin Yang bd254f2601 Fix an assertion in MemCpyOpt pass.
The MemCpyOpt pass is capable of optimizing:
      callee(&S); copy N bytes from S to D.
    into:
      callee(&D);
subject to some legality constraints. 

  Assertion is triggered when the compiler tries to evalute "sizeof(typeof(D))",
while D is an opaque-typed, 'sret' formal argument of function being compiled.
i.e. the signature of the func being compiled is something like this:
  T caller(...,%opaque* noalias nocapture sret %D, ...)

  The fix is that when come across such situation, instead of calling some
utility functions to get the size of D's type (which will crash), we simply
assume D has at least N bytes as implified by the copy-instruction.

rdar://14073661 

llvm-svn: 183584
2013-06-07 22:45:21 +00:00
clang Fix line endings. 2013-06-07 22:42:22 +00:00
clang-tools-extra cpp11-migrate: Add EnableHeaderModification flag 2013-06-06 20:32:29 +00:00
compiler-rt Reverting r183529: 2013-06-07 20:28:29 +00:00
debuginfo-tests We've got the type right, which has broken these tests - but now we need to get the location information correct that the type was papering over 2013-06-07 22:09:23 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Test case for r183481. 2013-06-07 14:24:18 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld Fix handling of files without a symbol table. 2013-06-07 21:08:19 +00:00
lldb Updating convenience register attach test 2013-06-07 22:16:14 +00:00
llvm Fix an assertion in MemCpyOpt pass. 2013-06-07 22:45:21 +00:00
polly scop detection: do not call getAliasSetForPointer when IgnoreAliasing 2013-06-03 16:35:41 +00:00