summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other
Commit message (Collapse)AuthorAgeFilesLines
* Remove LoopIndexSplit pass. It is neither maintained nor used by anyone.Devang Patel2010-10-071-5/+0
| | | | llvm-svn: 116004
* Fix llvm-extract so that it changes the linkage of all GlobalValues toBob Wilson2010-09-231-1/+6
| | | | | | | "external" even when doing lazy bitcode loading. This was broken because a function that is not materialized fails the !isDeclaration() test. llvm-svn: 114666
* Fix llvm-extract -delete's lazy loading to materialize the functions thatDan Gohman2010-09-231-0/+22
| | | | | | will not be deleted, rather than the ones that will. llvm-svn: 114614
* XFAIL test under valgrind. It is not really our problem if sh is leaking.Jakob Stoklund Olesen2010-09-091-0/+1
| | | | llvm-svn: 113550
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-42/+0
| | | | | | being actively maintained, improved, or extended. llvm-svn: 112356
* Try to escape the '$'s in these so they reach the underlying 'sh' invocation.Chandler Carruth2010-08-231-2/+2
| | | | | | I have no idea how lit did the right thing here, but other test runners don't. llvm-svn: 111805
* Add a testcase to verify that commands don't crash when they hitDan Gohman2010-08-181-0/+9
| | | | | | errors on stderr. llvm-svn: 111440
* Revert r111058, the lint check for indirectbr successors that aren'tDan Gohman2010-08-161-1/+0
| | | | | | | address-taken. This can occur normally, if the code which took the address got DCEd. llvm-svn: 111121
* Add a lint check for an indirectbr destination which has notDan Gohman2010-08-131-0/+1
| | | | | | had its address taken. llvm-svn: 111058
* Add a lint check for indirectbr with no successors.Dan Gohman2010-08-021-1/+3
| | | | llvm-svn: 110074
* Remove XFAIL, test doesn't leak anymore.Benjamin Kramer2010-07-291-1/+0
| | | | llvm-svn: 109801
* Add a lint check for mismatched return types, inspired by PR6944.Dan Gohman2010-07-121-0/+9
| | | | llvm-svn: 108162
* Don't write a file named "&1".Dan Gohman2010-06-181-1/+1
| | | | llvm-svn: 106269
* Add lint checks for function attributes.Dan Gohman2010-05-281-0/+17
| | | | llvm-svn: 105009
* Fix lint's memcpy and memmove checks, and its basic block traversal.Dan Gohman2010-05-281-0/+4
| | | | llvm-svn: 104970
* Detect self-referential values.Dan Gohman2010-05-281-0/+11
| | | | llvm-svn: 104957
* Remove this va_arg test, which is no longer applicable.Dan Gohman2010-05-281-3/+0
| | | | llvm-svn: 104956
* Eli pointed out that va_arg instruction result values don'tDan Gohman2010-05-281-4/+4
| | | | | | reference the stack. llvm-svn: 104951
* Teach lint how to look through simple store+load pairs and otherDan Gohman2010-05-281-0/+21
| | | | | | | effective no-op constructs, to make it more effective on unoptimized IR. llvm-svn: 104950
* Add a lint check for returning the address of stack memory.Dan Gohman2010-05-281-0/+7
| | | | llvm-svn: 104936
* rename test to represent meaningful dateGabor Greif2010-05-271-0/+0
| | | | llvm-svn: 104831
* Reinstate checking of stackrestore, with checking for both ReadDan Gohman2010-05-261-0/+3
| | | | | | and Write, and add a comment explaining this. llvm-svn: 104756
* Implement checking of the tail keyword.Dan Gohman2010-05-261-0/+12
| | | | llvm-svn: 104744
* XFAIL the test I added with vg_leak, apparently it is the first and only llcDaniel Dunbar2010-05-141-0/+1
| | | | | | | -filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we need to sort out the ownership model for the various MC objects. llvm-svn: 103769
* Inline Asm: Ensure buffer is newline terminated to match how the text is ↵Daniel Dunbar2010-05-141-0/+6
| | | | | | | | printed. - This is a hack, but I can't decide the best place to handle this. Chris? llvm-svn: 103765
* this really is needed. :(Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103434
* just remove this, it isn't needed.Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103432
* fix a pretty obvious typo. We test things before committing them, right?Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103427
* Fix PR6875:David Greene2010-05-101-0/+6
| | | | | | | | | | | | | | | This includes a patch by Roman Divacky to fix the initial crash. Move the actual addition of passes from *PassManager::add to *PassManager::addImpl. That way, when adding printer passes we won't recurse infinitely. Finally, check to make sure that we are actually adding a FunctionPass to a FunctionPassManager before doing a print before or after it. Immutable passes are strange in this way because they aren't FunctionPasses yet they can be and are added to the FunctionPassManager. llvm-svn: 103425
* Add lint checks for invalid uses of memory.Dan Gohman2010-04-301-0/+18
| | | | llvm-svn: 102733
* Add several more lint checks.Dan Gohman2010-04-091-0/+21
| | | | llvm-svn: 100841
* Add a few more lint checks.Dan Gohman2010-04-081-0/+14
| | | | llvm-svn: 100825
* Add a -lint pass which checks for common sources of undefined or likelyDan Gohman2010-04-081-0/+31
| | | | | | unintended behavior. llvm-svn: 100798
* Constant-fold GEP-of-GEP into a single GEP.Dan Gohman2010-03-101-0/+31
| | | | llvm-svn: 98178
* Fix whitespace.Dan Gohman2010-03-101-6/+6
| | | | llvm-svn: 98173
* stop using anders-aaChris Lattner2010-03-011-58/+0
| | | | llvm-svn: 97492
* Teach the constant folder about union types.Dan Gohman2010-02-251-6/+48
| | | | llvm-svn: 97142
* Canonicalize sizeof and alignof on pointer types to a canonicalDan Gohman2010-02-101-7/+51
| | | | | | pointer type. llvm-svn: 95769
* Factor out alignof expression folding into a separate function andDan Gohman2010-02-021-0/+21
| | | | | | generalize it to handle more cases. llvm-svn: 95045
* Generalize target-independent folding rules for sizeof to handle moreDan Gohman2010-02-011-35/+314
| | | | | | | | | | | | | | | | | | | cases, and implement target-independent folding rules for alignof and offsetof. Also, reassociate reassociative operators when it leads to more folding. Generalize ScalarEvolution's isOffsetOf to recognize offsetof on arrays. Rename getAllocSizeExpr to getSizeOfExpr, and getFieldOffsetExpr to getOffsetOfExpr, for consistency with analagous ConstantExpr routines. Make the target-dependent folder promote GEP array indices to pointer-sized integers, to make implicit casting explicit and exposed to subsequent folding. And add a bunch of testcases for this new functionality, and a bunch of related existing functionality. llvm-svn: 94987
* Remove the folding ruleDan Gohman2010-01-281-0/+84
| | | | | | | | | | | | | | | | | getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1) to inttoptr (i64 0 to i8*) from the VMCore constant folder. It didn't handle sign-extension properly in the case where the source integer is smaller than a pointer size. And, it relied on an assumption about sizeof(i8). The Analysis constant folder still folds these kinds of things; it has access to TargetData, so it can do them right. Add a testcase which tests that the VMCore constant folder doesn't miscompile this, and that the Analysis folder does fold it. llvm-svn: 94750
* -disable-output is no longer needed with -analyze.Dan Gohman2010-01-262-3/+3
| | | | llvm-svn: 94574
* fix bogus testChris Lattner2010-01-091-2/+2
| | | | llvm-svn: 93069
* Delete useless trailing semicolons.Dan Gohman2010-01-053-3/+3
| | | | llvm-svn: 92740
* Update these tests to match what Loop::print now prints.Dan Gohman2009-10-241-1/+1
| | | | llvm-svn: 85021
* Forbid arrays of function-type and structures with function-typed fields.Nick Lewycky2009-09-151-0/+6
| | | | | | | | | | While I'm there, change code that does: SomeTy == Type::getFooType(Context) into: SomeTy->getTypeID() == FooTyID to decrease the amount of useless type creation which may involve locking, etc. llvm-svn: 81846
* Eliminate more redundant llvm-as calls.Dan Gohman2009-09-114-9/+9
| | | | llvm-svn: 81540
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-1112-12/+12
| | | | | | | | 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-082-2/+2
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-0812-12/+12
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
OpenPOWER on IntegriCloud