summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls/StrCat.ll
Commit message (Collapse)AuthorAgeFilesLines
* instcombine: Migrate strcat and strncat optimizationsMeador Inge2012-10-131-33/+0
| | | | | | | This patch migrates the strcat and strncat optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 165874
* Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth2012-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This was done through the aid of a terrible Perl creation. I will not paste any of the horrors here. Suffice to say, it require multiple staged rounds of replacements, state carried between, and a few nested-construct-parsing hacks that I'm not proud of. It happens, by luck, to be able to deal with all the TCL-quoting patterns in evidence in the LLVM test suite. If anyone is maintaining large out-of-tree test trees, feel free to poke me and I'll send you the steps I used to convert things, as well as answer any painful questions etc. IRC works best for this type of thing I find. Once converted, switch the LLVM lit config to use ShTests the same as Clang. In addition to being able to delete large amounts of Python code from 'lit', this will also simplify the entire test suite and some of lit's architecture. Finally, the test suite runs 33% faster on Linux now. ;] For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s llvm-svn: 159525
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-111-2/+2
| | | | | | | | input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-081-2/+2
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-081-2/+2
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* Add targetdata strings to these tests, since SimplifyLibCalls usesDan Gohman2009-08-191-0/+4
| | | | | | TargetData to find the pointer size. llvm-svn: 79490
* Let the strcat optimizer return the pointer to the start of the buffer,Ed Schouten2009-04-061-0/+3
| | | | | | | | | instead of the place where it started to perform the string copy. - PR3661 - Patch by Benjamin Kramer! llvm-svn: 68443
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-101-19/+20
| | | | llvm-svn: 48137
* For PR1319:Reid Spencer2007-04-161-1/+2
| | | | | | Fix syntax of tests to ensure grep pattern is properly quoted. llvm-svn: 36134
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+24
llvm-svn: 33296
OpenPOWER on IntegriCloud