|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | This reverts commit r253512.
This likely broke the bots in:
http://lab.llvm.org:8011/builders/clang-ppc64-elf-linux2/builds/20202
http://bb.pgr.jp/builders/clang-3stage-i686-linux/builds/3787
llvm-svn: 253542 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | This is a follow on from a similar LLVM commit: r253511.
Note, this was reviewed (and more details are in) http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151109/312083.html
These intrinsics currently have an explicit alignment argument which is
required to be a constant integer.  It represents the alignment of the
source and dest, and so must be the minimum of those.
This change allows source and dest to each have their own alignments
by using the alignment attribute on their arguments.  The alignment
argument itself is removed.
The only code change to clang is hidden in CGBuilder.h which now passes
both dest and source alignment to IRBuilder, instead of taking the minimum of
dest and source alignments.
Reviewed by Hal Finkel.
llvm-svn: 253512 | 
| | 
| 
| 
| 
| 
| 
| | of a pointer for builtin emission, instead of just depending on the type of the
pointee.  <rdar://problem/11314941>.
llvm-svn: 162425 | 
| | 
| 
| 
| 
| 
| 
| | we're making.  We only ignore implicit casts.  Add a testcase showing that
we get the right behavior with explicit casts.
llvm-svn: 151994 | 
| | 
| 
| 
| 
| 
| | reported by Richard Smith.
llvm-svn: 151993 | 
| | 
| 
| 
| | llvm-svn: 129892 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | are trivial.  This exposes opportunities earlier, and allows fastisel
to do good things with these at -O0.
This addresses rdar://9289468 - clang doesn't fold memset_chk at -O0
llvm-svn: 129651 | 
| | 
| 
| 
| 
| 
| | field to memcpy, memmove, and memset.
llvm-svn: 100305 | 
| | 
| 
| 
| | llvm-svn: 100200 | 
| | 
| 
| 
| 
| 
| | field to memcpy, memmove, and memset.
llvm-svn: 100193 | 
| | 
| 
| 
| | llvm-svn: 99949 | 
| | 
| 
| 
| 
| 
| | memmove, and memset
llvm-svn: 99930 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | - This is designed to make it obvious that %clang_cc1 is a "test variable"
   which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
   can be useful to redefine what gets run as 'clang -cc1' (for example, to set
   a default target).
llvm-svn: 91446 | 
| | 
| 
| 
| 
| 
| | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
llvm-svn: 86430 | 
| | 
| 
| 
| 
| 
| | redundant with -triple.
llvm-svn: 72108 | 
| | 
| 
| 
| 
| 
| | Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602 | 
| | 
| 
| 
| 
| 
| | - Fix test case to not only have negative tests.
llvm-svn: 64674 | 
|  | This subsumes Nico Weber's patch and implements bzero in terms
of llvm.memset to match llvm-gcc.
llvm-svn: 53888 |