summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* Mark test as passing on all x86, which it should,Dale Johannesen2009-08-311-1/+1
| | | | | | | although I don't think anyone cares about this feature except Darwin. PR 4825. llvm-svn: 80596
* llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues.Daniel Dunbar2009-08-313-2/+7
| | | | llvm-svn: 80578
* llvm-mc: Simplify EmitAssignment ('.set' is identical to '=').Daniel Dunbar2009-08-313-6/+6
| | | | llvm-svn: 80577
* llvm-mc: Switch MCInst to storing an MCExpr* instead of an MCValue.Daniel Dunbar2009-08-312-7/+7
| | | | | | Also, use MCInst::print instead of custom code in MCAsmPrinter. llvm-svn: 80575
* fix a crash building SPASS by tolerating a callsite that doesn't existChris Lattner2009-08-311-0/+57
| | | | | | in the callgraph, see the big comment at the top of the testcase. llvm-svn: 80541
* fix a bug I introduced with my 'instcombine builder' refactoring Chris Lattner2009-08-311-0/+14
| | | | | | | | changes: SimplifyDemandedBits can't use the builder yet because it has the wrong insertion point. This fixes a crash building MultiSource/Benchmarks/PAQ8p llvm-svn: 80537
* Fix PR4834, a tricky case where the inliner would resolve anChris Lattner2009-08-311-0/+16
| | | | | | | | | | | | | | | indirect function pointer, inline it, then go to delete the body. The problem is that the callgraph had other references to the function, though the inliner had no way to know it, so we got a dangling pointer and an invalid iterator out of the deal. The fix to this is pretty simple: stop the inliner from deleting the function by knowing that there are references to it. Do this by making CallGraphNodes contain a refcount. This requires moving deletion of available_externally functions to the module-level cleanup sweep where it belongs. llvm-svn: 80533
* rename testChris Lattner2009-08-301-0/+0
| | | | llvm-svn: 80523
* merge all sinking tests into one and convert them to filecheck.Chris Lattner2009-08-3013-223/+264
| | | | llvm-svn: 80522
* convert scalar_promote to filecheck style and merge ↵Chris Lattner2009-08-302-23/+45
| | | | | | 2003-12-13-VolatilePromote.ll into it. llvm-svn: 80521
* eliminate some uses of prcontext. Any help here would be appreciated :)Chris Lattner2009-08-304-9/+26
| | | | llvm-svn: 80520
* rename test so that name reflects what it is testing for.Chris Lattner2009-08-301-0/+0
| | | | llvm-svn: 80519
* convert to filecheck format.Chris Lattner2009-08-301-2/+14
| | | | llvm-svn: 80518
* suck a bunch more gep tests into getelementptr.ll and filecheckize them all.Chris Lattner2009-08-3019-813/+271
| | | | llvm-svn: 80517
* consolodate various GEP tests into getelementptr.ll using filecheck.Chris Lattner2009-08-308-158/+106
| | | | llvm-svn: 80514
* another huge testcase, this time from 'gs' in llvm-test.Chris Lattner2009-08-301-519/+0
| | | | llvm-svn: 80513
* remove another poorly-reduced testcase which came from ldecod in llvm-test.Chris Lattner2009-08-301-444/+0
| | | | llvm-svn: 80512
* this testcase is 500 lines long and is distilled from bzip2, justChris Lattner2009-08-301-508/+0
| | | | | | remove it. llvm-svn: 80511
* convert to filecheckChris Lattner2009-08-301-25/+44
| | | | llvm-svn: 80510
* Fix PR4748: don't fold gep(bitcast(x)) into bitcast(gep) when x Chris Lattner2009-08-301-0/+21
| | | | | | | | | is itself a bitcast. Since we have gep(bitcast(bitcast(y))) in this case, just wait for the two bitcasts to get zapped. This prevents instcombine from confusing some aliasing stuff, and allows it to directly eliminate the load in the testcase. llvm-svn: 80508
* Add missed patternAnton Korobeynikov2009-08-301-0/+7
| | | | llvm-svn: 80502
* EXTRACT_VECTOR_ELEMENT can have result type different from element type.Anton Korobeynikov2009-08-301-0/+63
| | | | | | Remove the assertion and generalize the code for ARM NEON stuff. llvm-svn: 80498
* Update test.Daniel Dunbar2009-08-301-2/+4
| | | | llvm-svn: 80490
* llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported ↵Daniel Dunbar2009-08-301-0/+5
| | | | | | | | for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). llvm-svn: 80484
* CMOV_GR8 clobbers EFLAGS when its expansion involves an xor to setDan Gohman2009-08-291-0/+55
| | | | | | a register to 0. This fixes PR4814. llvm-svn: 80445
* Do not assert on too wide splats we don't support.Anton Korobeynikov2009-08-291-0/+23
| | | | llvm-svn: 80409
* Add missed extract_element patternAnton Korobeynikov2009-08-281-0/+25
| | | | llvm-svn: 80408
* Reapply 79977.Devang Patel2009-08-2815-728/+0
| | | | | | Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406
* Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a ↵Evan Cheng2009-08-282-68/+1
| | | | | | bunch of nasty code in ARM asm printer. llvm-svn: 80404
* rm needs -fTorok Edwin2009-08-281-1/+1
| | | | llvm-svn: 80363
* Remove the llvmprof.out from the test output, otherwise runningTorok Edwin2009-08-281-1/+1
| | | | | | | make check in a non-clean directory causes it to fail (for example when running make check twice), since execution counts will differ. llvm-svn: 80362
* Remove profiling output file because two consecutive runs of make check giveAndreas Neustifter2009-08-281-0/+1
| | | | | | error. llvm-svn: 80357
* Removed unnecessary file creation during test.Andreas Neustifter2009-08-281-1/+1
| | | | llvm-svn: 80356
* Pulled all tests into one test. Removed some redundant tests. Rename.Andreas Neustifter2009-08-284-326/+181
| | | | llvm-svn: 80355
* llvm-mc: Support .comm emission.Daniel Dunbar2009-08-281-0/+114
| | | | llvm-svn: 80351
* Readded test from r79615, this tests the complete profiling tool chain. FurhterAndreas Neustifter2009-08-284-0/+330
| | | | | | tests can test only parts of this system. llvm-svn: 80348
* llvm-mc: Support .zerofill emission.Daniel Dunbar2009-08-284-0/+501
| | | | | | - I'm still trying to figure out the cleanest way to implement this and match the assembler, currently there are some substantial differences. llvm-svn: 80347
* llvm-mc: Emit .lcomm as .zerofill.Daniel Dunbar2009-08-282-4/+4
| | | | llvm-svn: 80343
* Fix PR3913, patch by Jakub Staszak!Chris Lattner2009-08-281-0/+24
| | | | llvm-svn: 80327
* v4, v5 does not support sxtb / sxth.Evan Cheng2009-08-282-29/+60
| | | | llvm-svn: 80322
* scalar_to_vector is fully legal now (implemented as subreg accesses)Anton Korobeynikov2009-08-271-1/+1
| | | | llvm-svn: 80249
* Ok, sometimes it's profitable to turn scalar_to_vector stuff into subreg access.Anton Korobeynikov2009-08-271-0/+35
| | | | | | Add a testcase. llvm-svn: 80246
* Implement a new optimization in the inliner: if inlining multipleChris Lattner2009-08-271-0/+26
| | | | | | | | | | | | | | | | | | | calls into a function and if the calls bring in arrays, try to merge them together to reduce stack size. For example, in the testcase we'd previously end up with 4 allocas, now we end up with 2 allocas. As described in the comments, this is not really the ideal solution to this problem, but it is surprisingly effective. For example, on 176.gcc, we end up eliminating 67 arrays at "gccas" time and another 24 at "llvm-ld" time. One piece of concern that I didn't look into: at -O0 -g with forced inlining this will almost certainly result in worse debug info. I think this is acceptable though given that this is a case of "debugging optimized code", and we don't want debug info to prevent the optimizer from doing things anyway. llvm-svn: 80215
* the inliner shouldn't crash on this.Chris Lattner2009-08-271-0/+31
| | | | llvm-svn: 80214
* For now, only run MC tests if X86 is configured.Daniel Dunbar2009-08-272-2/+8
| | | | llvm-svn: 80213
* This is passing for PPC on Mac OS X.Bill Wendling2009-08-271-2/+0
| | | | llvm-svn: 80210
* Fix PR4789. Teach eliminateFrameIndex how to handle VLDRQ and VSTRQ which ↵Evan Cheng2009-08-272-0/+114
| | | | | | cannot fold any immediate offset. llvm-svn: 80191
* X86FastISel support for loading and storing values of type i1.Dan Gohman2009-08-271-0/+9
| | | | llvm-svn: 80186
* Expand i8 selects into control flow instead of 16-bit conditionalDan Gohman2009-08-272-17/+12
| | | | | | | | | | | | moves. This avoids the need to promote the operands (or implicitly extend them, a partial register update condition), and can reduce i8 register pressure. This substantially speeds up code such as write_hex in lib/Support/raw_ostream.cpp. subclass-coalesce.ll is too trivial and no longer tests what it was originally intended to test. llvm-svn: 80184
* llvm-mc/Mach-O: Unique sections properly, so we don't get duplicate textDaniel Dunbar2009-08-261-0/+3
| | | | | | | | sections, etc. - The quick and dirty way, just clone the TargetLoweringObjectFile code. Eventually this should be shared... somehow. llvm-svn: 80168
OpenPOWER on IntegriCloud