summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Temporarily disabled the MCJIT tests for Darwin, because the ↵Danil Malyshev2012-05-181-1/+1
| | | | | | RuntimeDyldMachO has a problems with relocations for 32bit x86. llvm-svn: 157035
* Another test for r157025 <rdar://problem/11460990>.Fariborz Jahanian2012-05-181-0/+13
| | | | llvm-svn: 157034
* Clarify comment.Eric Christopher2012-05-181-1/+1
| | | | llvm-svn: 157033
* fix corner case in ConstantRange::intersectWith().Nuno Lopes2012-05-182-1/+6
| | | | | | this fixes the missed optimization I was seeing in the CorrelatedValuePropagation pass llvm-svn: 157032
* Fixed a bug in llvm-objdump when disassembling using -macho option for a binaryKevin Enderby2012-05-182-2/+34
| | | | | | containing no symbols. Fixed the crash and fixed it not disassembling anything. llvm-svn: 157031
* Remove a test that was only testing for physreg joining.Jakob Stoklund Olesen2012-05-181-12/+1
| | | | | | | | | | This is the same as the other tests: Clever tricks are required to make the arguments and return value line up in a single-instruction function. It rarely happens in real life. We have plenty other examples of this behavior. llvm-svn: 157030
* Make the debug output that comes as printf's from code called in the target ↵Jim Ingham2012-05-182-2/+2
| | | | | | for getting ObjC class names and ObjC method implementations only come out when doing verbose logging. llvm-svn: 157029
* <rdar://problem/11405850> Greg Clayton2012-05-181-1/+1
| | | | | | | | | | | | | The "run" and "r" aliases were for gdb compatability, so make then do what GDB does by default: launch in a shell. For those that don't want launching with a shell by default, add the following to your ~/.lldbinit file: command unalias run command unalias r command alias r process launch -- command alias run process launch -- llvm-svn: 157028
* Remove -join-physregs from the test suite.Jakob Stoklund Olesen2012-05-1717-232/+227
| | | | | | | | | | | | | | This option has been disabled for a while, and it is going away so I can clean up the coalescer code. The tests that required physreg joining to be enabled were almost all of the form "tiny function with interference between arguments and return value". Such functions are usually inlined in the real world. The problem exposed by phys_subreg_coalesce-3.ll is real, but fairly rare. llvm-svn: 157027
* I have updated Clang to include support for Objective-CSean Callanan2012-05-179-105/+1735
| | | | | | | | | | boxed expressions returning numbers and strings. I also added boxed expressions to our testcases, and enabled boxed expressions when libarclite is linked into the inferior. llvm-svn: 157026
* A selector match between two Objective-C methods does *not* guaranteeDouglas Gregor2012-05-173-15/+27
| | | | | | | | that the methods have the same number of parameters, although we certainly assumed this in many places. Objective-C can be insane sometimes. Fixes <rdar://problem/11460990>. llvm-svn: 157025
* minor simplification in the call to ConstantRange constructorNuno Lopes2012-05-171-1/+1
| | | | llvm-svn: 157024
* Remove trailing periods which snuck into a few diagnostic strings.Matt Beaumont-Gay2012-05-172-5/+5
| | | | llvm-svn: 157022
* In the override search for Objective-C methods, protect against ASTs that ↵Douglas Gregor2012-05-172-5/+17
| | | | | | have NULL interfaces behind a category, which can happen in invalid code. Fixes <rdar://problem/11478173>, a recent regression llvm-svn: 157021
* commentsAndrew Trick2012-05-171-2/+3
| | | | llvm-svn: 157020
* Fix the encoding of the armv7m (MClass) for MSR APSR writes which was missingKevin Enderby2012-05-174-15/+82
| | | | | | | | | | the 0b10 mask encoding bits. Make MSR APSR writes without a _<bits> qualifier an alias for MSR APSR_nzcvq even though ARM as deprecated it use. Also add support for suffixes (_nzcvq, _g, _nzcvqg) for APSR versions. Some FIXMEs in the code for better error checking when versions shouldn't be used. rdar://11457025 llvm-svn: 157019
* Drop the question mark when complaining about a non-existing -Wno- flag.Benjamin Kramer2012-05-171-1/+1
| | | | | | We're certain that it doesn't exist. llvm-svn: 157017
* - Added ExecutionEngine/MCJIT testsDanil Malyshev2012-05-1754-3/+1295
| | | | | | | - Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
* Add -mno-implicit-float to the M group.Chad Rosier2012-05-171-1/+1
| | | | llvm-svn: 157014
* <rdar://11477301>Han Ming Ong2012-05-172-0/+2
| | | | | | Restore Xcode as a valid white list client using the XPC root launcher llvm-svn: 157012
* Remove extraneous ';'.Bill Wendling2012-05-171-1/+1
| | | | llvm-svn: 157011
* Reduce the timeout value for the "get class name" and "po" functions to .1 ↵Jim Ingham2012-05-172-2/+2
| | | | | | second. 1 second (what they were before) is way too long. llvm-svn: 157009
* If we notice that a module with a given file path is replaced by another ↵Jim Ingham2012-05-177-69/+188
| | | | | | | | | | | with the same file path on rerunning, evict the old module from the target module list, inform the breakpoints about this so they can do something intelligent as well. rdar://problem/11273043 llvm-svn: 157008
* misched: trace ReadyQ.Andrew Trick2012-05-171-0/+8
| | | | llvm-svn: 157007
* misched: Added 3-level regpressure back-off.Andrew Trick2012-05-173-75/+288
| | | | | | | | | | | | | | | | | | Introduce the basic strategy for register pressure scheduling. 1) Respect target limits at all times. 2) Indentify critical register classes (pressure sets). Track pressure within the scheduled region. Avoid increasing scheduled pressure for critical registers. 3) Avoid exceeding the max pressure of the region prior to scheduling. Added logic for picking between the top and bottom ready Q's based on regpressure heuristics. Status: functional but needs to be asjusted to achieve good results. llvm-svn: 157006
* commentAndrew Trick2012-05-172-3/+1
| | | | llvm-svn: 157005
* regpressure: Fix getMaxUpwardPressureDelta.Andrew Trick2012-05-171-2/+6
| | | | llvm-svn: 157004
* misched: fix liveness iteratorsAndrew Trick2012-05-171-10/+16
| | | | llvm-svn: 157003
* whitespaceAndrew Trick2012-05-172-2/+3
| | | | llvm-svn: 157002
* Never clear <undef> flags on already joined copies.Jakob Stoklund Olesen2012-05-171-4/+6
| | | | | | | | | | | | | | | | | | | | | RegisterCoalescer set <undef> flags on all operands of copy instructions that are scheduled to be removed. This is so they won't affect shrinkToUses() by introducing false register reads. Make sure those <undef> flags are never cleared, or shrinkToUses() could cause live intervals to end at instructions about to be deleted. This would be a lot simpler if RegisterCoalescer could just erase joined copies immediately instead of keeping all the to-be-deleted instructions around. This fixes PR12862. Unfortunately, bugpoint can't create a sane test case for this. Like many other coalescer problems, this failure depends of a very fragile series of events. <rdar://problem/11474428> llvm-svn: 157001
* Fix a verifier bug.Jakob Stoklund Olesen2012-05-171-1/+1
| | | | | | Make sure useless (def-only) intervals also get verified. llvm-svn: 157000
* [arcmt] Remove the "it is not safe to remove an unused 'autorelease' ↵Argyrios Kyrtzidis2012-05-172-13/+1
| | | | | | | | | | | | | | message" ARC migration error. This is more trouble that it is worth; autoreleasing a value without holding on it is a valid use-case, we should not "punish" correct code for the minority of broken/fragile programs that depend on the behavior of -autorelease. rdar://9914061 llvm-svn: 156999
* Relax the requirement that the exception object must be an instruction. DuringBill Wendling2012-05-171-6/+6
| | | | | | bugpoint-ing, it may turn into something else. llvm-svn: 156998
* [Hexagon] Clean up Hexagon ELF definition.Evandro Menezes2012-05-172-2/+3
| | | | llvm-svn: 156996
* enhance the intrinsic info stuff to emit encodings that don't fit in 32-bits ↵Chris Lattner2012-05-173-181/+95
| | | | | | | | | into a separate side table, using the handy SequenceToOffsetTable class. This encodes all these weird things into another 256 bytes, allowing all intrinsics to be encoded this way. llvm-svn: 156995
* We shouldn't save g_dummy_target_sp. Other code will simply call Destroy() ↵Filipe Cabecinhas2012-05-171-16/+13
| | | | | | | | | | | | | | | on it. TestBackticksWithoutATarget.BackticksWithNoTargetTestCase was calling GetDummyTarget() when executing for x86_64. When performing session tearDown, it would get destroyed (and everything would be invalid (arch, etc). Then the test would run for i386. The dummy target wasn't being reinitialized and was invalid. lldb complained that 'current process state is unsuitable for expression parsing'. llvm-svn: 156994
* [driver] Reword the warning message for missing value to a joined argument.Chad Rosier2012-05-171-1/+1
| | | | llvm-svn: 156993
* tsan: remove shutdown codeDmitry Vyukov2012-05-1711-102/+6
| | | | | | | | tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) llvm-svn: 156991
* tsan: detect accesses to freed memoryDmitry Vyukov2012-05-1710-38/+105
| | | | | | http://codereview.appspot.com/6214052 llvm-svn: 156990
* Remove incorrect pattern for ARM SMML instruction.Tim Northover2012-05-172-2/+14
| | | | | | Patch by Meador Inge. llvm-svn: 156989
* Added two missing const qualifiers.Abramo Bagnara2012-05-172-4/+4
| | | | llvm-svn: 156988
* CXXThisScopeRAII objects aren't free, don't compute one if it's unused.Benjamin Kramer2012-05-173-3/+3
| | | | llvm-svn: 156987
* Fix compile error.Manuel Klimek2012-05-171-1/+1
| | | | llvm-svn: 156986
* SelectionDAGBuilder: CaseBlock, CaseRanges and CaseCmp changed ↵Stepan Dyatkovskiy2012-05-172-10/+11
| | | | | | representation of Low and High from signed to unsigned. Since unsigned ints usually simpler, faster and allows to reduce some extra signed bit checks needed before <,>,<=,>= comparisons. llvm-svn: 156985
* [tsan] grammar fixesKostya Serebryany2012-05-171-3/+3
| | | | llvm-svn: 156984
* [tsan] fix dependency rules in Makefile.oldKostya Serebryany2012-05-171-3/+5
| | | | llvm-svn: 156983
* tsan: ValgrindSlowdown() should be weak for some timeDmitry Vyukov2012-05-171-1/+1
| | | | llvm-svn: 156982
* tsan: add ValgrindSlowdown() "dynamic annotation"Dmitry Vyukov2012-05-171-0/+4
| | | | llvm-svn: 156981
* Genericize the intrinsics descriptor decoding a bit to make room Chris Lattner2012-05-171-20/+25
| | | | | | for future expansion, no functionality change yet though. llvm-svn: 156979
* finish encoding all of the interesting details of intrinsics. Now intrinsicsChris Lattner2012-05-172-48/+70
| | | | | | | are only rejected because they can't be encoded into a 32-bit unit, not because they contain an unencodable feature. llvm-svn: 156978
OpenPOWER on IntegriCloud