summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct a minor problem with the Thumb2 LDREX and STREX instruction ↵Cameron Zwarich2011-05-171-1/+1
| | | | | | | | encodings. They were marked as taking a tGPR when in reality they take an rGPR. llvm-svn: 131506
* Add some support for RHEL5 systems.Eric Christopher2011-05-172-1/+9
| | | | llvm-svn: 131505
* Conditionalize the use of 4.4 or 4.2 format based on the target.Bill Wendling2011-05-171-4/+6
| | | | | | <rdar://problem/8107317> llvm-svn: 131504
* Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2Bill Wendling2011-05-173-12/+22
| | | | | | format. llvm-svn: 131503
* Make fast-isel miss counting in -stats and -fast-isel-verbose take ↵Eli Friedman2011-05-171-3/+8
| | | | | | terminators into account; since there are many fewer isel misses with recent changes, misses caused by terminators are more significant. llvm-svn: 131502
* Let's also stick the svn info for the base directory into a file underJohnny Chen2011-05-171-1/+15
| | | | | | | the session directory, which also includes the command line used to invoke the test suite. llvm-svn: 131501
* Code cleanup of my last patch.Fariborz Jahanian2011-05-171-13/+8
| | | | llvm-svn: 131499
* RunThreadPlan should set the plan to "not private" since it needs that,Jim Ingham2011-05-172-2/+9
| | | | | | and then reset it to the original value when done. llvm-svn: 131498
* Misc. code cleanups.Dan Gohman2011-05-171-60/+59
| | | | llvm-svn: 131497
* Patch to fix IR-gen crash generating structure ABI which implementsFariborz Jahanian2011-05-176-17/+59
| | | | | | | user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496
* Misc. code cleanups.Dan Gohman2011-05-171-33/+34
| | | | llvm-svn: 131495
* Add truth value testing to those lldb Python objects with the IsValid() ↵Johnny Chen2011-05-175-28/+56
| | | | | | | | | | | method definitions. object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(), via a simple delegation to self.IsValid(). Change tests under python_api/lldbutil to utilize this mechanism. llvm-svn: 131494
* X86 pmovsx/pmovzx ignore the upper half of their inputs.Stuart Hastings2011-05-173-1/+38
| | | | | | rdar://problem/6945110 llvm-svn: 131493
* Fix a nasty bug where inside StringLiteralParser:Argyrios Kyrtzidis2011-05-172-4/+23
| | | | | | | | | | | | | | | | 1. We would assume that the length of the string literal token was at least 2 2. We would allocate a buffer with size length-2 And when the stars aligned (one of which would be an invalid source location due to stale PCH) The length would be 0 and we would try to allocate a 4GB buffer. Add checks for this corner case and a bunch of asserts. (We really really should have had an assert for 1.). Note that there's no test case since I couldn't get one (it was major PITA to reproduce), maybe later. llvm-svn: 131492
* Do some safety checks.Argyrios Kyrtzidis2011-05-172-11/+11
| | | | llvm-svn: 131491
* For calls returning first-class aggregates, store by element instead of ↵Eli Friedman2011-05-172-3/+31
| | | | | | creating aggregate stores in common cases. This is more friendly to fast-isel. llvm-svn: 131490
* Revert r131434, my commit disabling the complete-object constructorJohn McCall2011-05-172-22/+1
| | | | | | | optimization for abstract classes; there was a misunderstanding, and it turns out that there are no kexts which rely on this. llvm-svn: 131489
* vrev is incorrectly defined in the perfect shuffle table. The ordering is ↵Tanya Lattner2011-05-173-6566/+6584
| | | | | | backwards (should be 0x3210 versus 0x1032) which exposed a bug when doing a shuffle on a 4xi16. I've attached a test case. llvm-svn: 131488
* Fix some minor bugs and add a lot more test cases for defaultedAlexis Hunt2011-05-173-8/+84
| | | | | | | constructors, including two more FIXMEs (one of which I don't actually understand). llvm-svn: 131487
* Add some more tests.Alexis Hunt2011-05-171-0/+74
| | | | | | | | I have on that's #if 0'ed out, and I don't know why it's failing to delete the constructor. I'd appreciate if someone familiar with access control could look into ShouldDeleteDefaultConstructor - thanks. llvm-svn: 131486
* Fix ambiguity in operator== of scoped_allocator_adaptor.Howard Hinnant2011-05-171-3/+3
| | | | llvm-svn: 131485
* Fixed bug in recently introduced bind move constructorHoward Hinnant2011-05-171-1/+1
| | | | llvm-svn: 131484
* Fix and beef up test bug for move_if_noexceptHoward Hinnant2011-05-171-3/+11
| | | | llvm-svn: 131483
* Preserve line number information.Devang Patel2011-05-171-0/+1
| | | | llvm-svn: 131482
* Set debug loc for new load instruction.Devang Patel2011-05-171-0/+3
| | | | llvm-svn: 131481
* Preserve line number information.Devang Patel2011-05-171-1/+2
| | | | llvm-svn: 131480
* Clean up a bunch of warnings in the tests, 3 of which actually turned out to ↵Howard Hinnant2011-05-1729-4/+54
| | | | | | be test bugs. llvm-svn: 131479
* Fix comment.Rafael Espindola2011-05-171-1/+1
| | | | llvm-svn: 131478
* Move test for appropriate directory.Galina Kistanova2011-05-171-0/+0
| | | | llvm-svn: 131477
* Enable autodetect of popcntMon P Wang2011-05-171-0/+1
| | | | llvm-svn: 131476
* Frame indices are signed. Update MachineOperand methods accordingly.Jim Grosbach2011-05-172-2/+2
| | | | llvm-svn: 131475
* Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.Eli Friedman2011-05-173-48/+55
| | | | | | This is r131438 with a couple small fixes. llvm-svn: 131474
* Fixed an assert that could cause a crash when there was anGreg Clayton2011-05-171-1/+8
| | | | | | | unrecognized DW_TAG_base_type. Now it is a error printed to stderr. llvm-svn: 131473
* Fixed an issue where addresses would not get resolved for the last Greg Clayton2011-05-171-10/+27
| | | | | | loaded section in the section load list. llvm-svn: 131472
* Clean up the mess created by r131467+r131469.Eli Friedman2011-05-172-16/+0
| | | | llvm-svn: 131471
* Removed some assertions that could crash the controlling programGreg Clayton2011-05-171-5/+11
| | | | | | and turned them into warnings to stderr. llvm-svn: 131470
* Revert 131467 due to buildbot complaint.Stuart Hastings2011-05-173-80/+30
| | | | llvm-svn: 131469
* Fixed an issue that broke expression parsing related to backing upGreg Clayton2011-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | all register values. There is some junk that was appearing at the end of the result the 'g' packet (read all register values). This function was being called in: bool GDBRemoteRegisterContext::ReadAllRegisterValues (lldb::DataBufferSP &data_sp) Then the packet data for the 'G' packet (write all registers) was being placed into "data_sp" so the: bool GDBRemoteRegisterContext::WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) could restore it. In attempting to clean up the extra junk at the end of this packet data, the packet was getting truncated. llvm-svn: 131468
* Fix an obscure issue in X86_64 parameter passing: if a tiny byval isStuart Hastings2011-05-173-15/+81
| | | | | | | passed as the fifth parameter, insure it's passed correctly (in R9). rdar://problem/6920088 llvm-svn: 131467
* Tweak cross-class coalescing to be more aggressive when the target class is ↵Jakob Stoklund Olesen2011-05-171-3/+9
| | | | | | | | | | | | | small. The greedy register allocator has live range splitting and register class inflation, so it can actually fully undo this join, including restoring the original register classes. We still don't want to do this for long live ranges, mostly because of the high register pressure of there are many constrained live ranges overlapping. llvm-svn: 131466
* Forgot to check in this patch for Marco Minutoli.Johnny Chen2011-05-171-1/+1
| | | | | | Update to Python2.7 from Python 2.6. llvm-svn: 131465
* The logic about -static is darwin only. For now assume that all nonRafael Espindola2011-05-172-15/+30
| | | | | | darwin assembler can handle cfi. Add a test. llvm-svn: 131464
* Don't include information about the build into the information returned byRafael Espindola2011-05-171-29/+0
| | | | | | getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu. llvm-svn: 131463
* Fix a bug in PerformEXTRACT_VECTOR_ELTCombine. The code created an ADD SDNodeNadav Rotem2011-05-171-2/+2
| | | | | | | with two different types, in cases where the index and the ptr had different types. llvm-svn: 131461
* Update comment.Eric Christopher2011-05-171-4/+4
| | | | llvm-svn: 131459
* Support XOR and AND optimization with no return value.Eric Christopher2011-05-172-5/+51
| | | | | | Finishes off rdar://8470697 llvm-svn: 131458
* Couple less magic numbers.Eric Christopher2011-05-171-3/+5
| | | | llvm-svn: 131457
* Make this code a little less magic number laden.Eric Christopher2011-05-171-12/+30
| | | | llvm-svn: 131456
* add a noteChris Lattner2011-05-171-0/+26
| | | | llvm-svn: 131455
* Fixed the "mmap" to work on MacOSX/darwin by supplying the correct arguemnts.Greg Clayton2011-05-174-17/+66
| | | | | | | | | | | Modified ClangUserExpression and ClangUtilityFunction to display the actual error (if one is available) that made the JIT fail instead of a canned response. Fixed the restoring of all register values when the 'G' packet doesn't work to use the correct data. llvm-svn: 131454
OpenPOWER on IntegriCloud