summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtin-memfns.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the alignment from lvalue emission to more accurately compute the alignmentEli Friedman2012-08-231-0/+20
| | | | | | | of a pointer for builtin emission, instead of just depending on the type of the pointee. <rdar://problem/11314941>. llvm-svn: 162425
* From his comment in PR12168, Eli seems confused about the alignment assumptionsChris Lattner2012-03-041-1/+5
| | | | | | | we're making. We only ignore implicit casts. Add a testcase showing that we get the right behavior with explicit casts. llvm-svn: 151994
* add a testcase for PR12094 and fix a crash on pointer to incomplete type,Chris Lattner2012-03-041-0/+11
| | | | | | reported by Richard Smith. llvm-svn: 151993
* fix a crash on code that uses the result value of __builtin___memcpy_chk.Chris Lattner2011-04-201-0/+6
| | | | llvm-svn: 129892
* fold memcpy/set/move_chk to llvm.memcpy/set/move when the sizesChris Lattner2011-04-171-1/+28
| | | | | | | | | 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
* Reapply patch for adding support for address spaces and added a isVolatile ↵Mon P Wang2010-04-041-5/+7
| | | | | | field to memcpy, memmove, and memset. llvm-svn: 100305
* Revert r100193 since it causes failures in objc in clangMon P Wang2010-04-021-7/+5
| | | | llvm-svn: 100200
* Reapply patch for adding support for address spaces and added a isVolatile ↵Mon P Wang2010-04-021-5/+7
| | | | | | field to memcpy, memmove, and memset. llvm-svn: 100193
* Revert Mon Ping's 99930 due to broken llvm-gcc buildbots.Bob Wilson2010-03-301-7/+5
| | | | llvm-svn: 99949
* Added support for address spaces and added a isVolatile field to memcpy, ↵Mon P Wang2010-03-301-5/+7
| | | | | | memmove, and memset llvm-svn: 99930
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-4/+4
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Remove the -arch option from clang-cc: for all practical purposes, it's Eli Friedman2009-05-191-1/+1
| | | | | | redundant with -triple. llvm-svn: 72108
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Fix IRgen of __builtin_memset.Daniel Dunbar2009-02-161-1/+5
| | | | | | - Fix test case to not only have negative tests. llvm-svn: 64674
* Implement bzero, memset, memmove builtins.Daniel Dunbar2008-07-221-0/+11
This subsumes Nico Weber's patch and implements bzero in terms of llvm.memset to match llvm-gcc. llvm-svn: 53888
OpenPOWER on IntegriCloud