summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the TII::scheduleTwoAddrSource() hook.Jakob Stoklund Olesen2012-08-134-66/+0
| | | | | | | | | | | | | | | It never does anything when running 'make check', and it get's in the way of updating live intervals in 2-addr. The hook was originally added to help form IT blocks in Thumb2 code before register allocation, but the pass ordering has changed since then, and we run if-conversion after register allocation now. When the MI scheduler is enabled, there will be no less than two schedulers between 2-addr and Thumb2ITBlockPass, so this hook is unlikely to help anything. llvm-svn: 161794
* [ms-inline asm] Address a potential buffer overflow.Chad Rosier2012-08-131-5/+1
| | | | llvm-svn: 161793
* Rename test since it's not linux-specific.Bill Wendling2012-08-131-0/+0
| | | | llvm-svn: 161792
* PR13570: When an unresolved overloaded call appeared in a dependent context, weRichard Smith2012-08-132-0/+11
| | | | | | | forgot to set it as being instantiation-dependent as well as being type- and value-dependent. llvm-svn: 161791
* ARM: enable struct byval for AAPCS-VFP.Manman Ren2012-08-132-7/+8
| | | | | | rdar://9877866 llvm-svn: 161790
* ARM: enable struct byval for AAPCS-VFP.Manman Ren2012-08-131-0/+3
| | | | | | | | This change is to be enabled in clang. rdar://9877866 llvm-svn: 161789
* Whitespace cleanup.Bill Wendling2012-08-131-7/+7
| | | | llvm-svn: 161788
* Comment changes.Johnny Chen2012-08-131-1/+2
| | | | llvm-svn: 161787
* c: small refactoring of checking for __attribute__(const))Fariborz Jahanian2012-08-134-12/+11
| | | | | | per Richard's comment. llvm-svn: 161786
* rdar://problem/12007576Johnny Chen2012-08-139-34/+223
| | | | | | | Record the snapshot of our watched value when the watchpoint is set or hit. And report the old/new values when watchpoint is triggered. Add some test scenarios. llvm-svn: 161785
* Count triangles and diamonds in early if-conversion.Jakob Stoklund Olesen2012-08-131-0/+16
| | | | llvm-svn: 161783
* Delete dead typedef.Jakob Stoklund Olesen2012-08-131-2/+0
| | | | llvm-svn: 161782
* Handle extra Tail predecessors in if-conversion.Jakob Stoklund Olesen2012-08-132-20/+97
| | | | | | | | It is still possible to if-convert if the tail block has extra predecessors, but the tail phis must be rewritten instead of being removed. llvm-svn: 161781
* [ms-inline asm] Have patchMSAsmStrings() return a vector or AsmStrings.Chad Rosier2012-08-132-62/+111
| | | | | | | | | | | | | | | | | | | | | | | | | The AsmParser expects a single asm instruction, but valid ms-style inline asm statements may contain multiple instructions. This happens with asm blocks __asm { mov ebx, eax mov ecx, ebx } or when multiple asm statements are adjacent to one another __asm mov ebx, eax __asm mov ecx, ebx and __asm mov ebx, eax __asm mov ecx, ebx Currently, asm blocks are not properly handled. llvm-svn: 161780
* Factor out computation of whether a typeid's expression is potentiallyRichard Smith2012-08-137-27/+31
| | | | | | evaluated into a CXXTypeid member function. No functionality change. llvm-svn: 161779
* [Hexagon] Don't mark callee saved registers as clobbered by a tail callArnold Schwaighofer2012-08-132-9/+17
| | | | | | | | | | This was causing unnecessary spills/restores of callee saved registers. Fixes PR13572. Patch by Pranav Bhandarkar! llvm-svn: 161778
* Fix failure on Atom bot due to r161769Manman Ren2012-08-131-1/+1
| | | | llvm-svn: 161777
* Minor rework of code example for clarity. No functionality changeMarshall Clow2012-08-131-7/+5
| | | | llvm-svn: 161776
* Do not optimize (or (and X,Y), Z) into BFI and other sequences if the AND ↵Nadav Rotem2012-08-132-1/+22
| | | | | | | | ISDNode has more than one user. rdar://11876519 llvm-svn: 161775
* <rdar://problem/12087275>Greg Clayton2012-08-131-1/+1
| | | | | | Make the crashlog parser able to deal with spaces in the process name. llvm-svn: 161772
* tsan: handle larger number of goroutines + fix a memory leak of goroutine ↵Dmitry Vyukov2012-08-132-9/+16
| | | | | | descriptors llvm-svn: 161770
* X86: move Int_CVTSD2SSrr, Int_CVTSI2SSrr, Int_CVTSI2SDrr, Int_CVTSS2SDrr fromManman Ren2012-08-132-6/+20
| | | | | | | | | OpTbl1 to OpTbl2 since they have 3 operands and the last operand can be changed to a memory operand. PR13576 llvm-svn: 161769
* Add support for the %H output modifier.Eric Christopher2012-08-132-2/+24
| | | | | | Patch by Weiming Zhao. llvm-svn: 161768
* c: make __has_attribute(const) work for constFariborz Jahanian2012-08-133-1/+12
| | | | | | function attribute. // rdar://10253857 llvm-svn: 161767
* Ignore the tools/extra directory.David Blaikie2012-08-130-0/+0
| | | | llvm-svn: 161766
* Ignore known externally-homed tools.David Blaikie2012-08-130-0/+0
| | | | llvm-svn: 161765
* Teach Git to ignore the tools/extra directory.David Blaikie2012-08-131-0/+6
| | | | llvm-svn: 161764
* X86: when auto-detecting the subtarget features, make sure use IsIntel to detectManman Ren2012-08-131-2/+2
| | | | | | Nehalem, Westmere and Sandy Bridge. AMD also has processor family 6. llvm-svn: 161763
* When looking for the comment associated with a declaration, adjust theDouglas Gregor2012-08-132-0/+27
| | | | | | | | 'templated' declaration for a function or class template to refer to the function or class template itself, to which the documentation will be attached. Fixes PR13593. llvm-svn: 161762
* Remove obsolete do-installhdrs target (again).Howard Hinnant2012-08-131-2/+2
| | | | llvm-svn: 161761
* Remove obsolete do-installhdrs target.Howard Hinnant2012-08-131-11/+0
| | | | llvm-svn: 161760
* When the header file search resolves a quoted include to a file in theDouglas Gregor2012-08-131-5/+13
| | | | | | | | | | | current directory, propagate the framework and in-index-header-map from the including header's information down to the included header's information. Fixes <rdar://problem/11261291>. As with everything header-map related, we can't really test this in isolation within Clang, so it's tested elsewhere. llvm-svn: 161759
* Fix a documentation typo.Nadav Rotem2012-08-131-2/+2
| | | | llvm-svn: 161758
* [asan] remove the code for --asan-merge-callbacks as it appears to be a bad ↵Kostya Serebryany2012-08-131-78/+8
| | | | | | idea. (partly related to Bug 13225) llvm-svn: 161757
* [ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks ↵Alexey Samsonov2012-08-131-0/+1
| | | | | | to cool test by glider@) llvm-svn: 161756
* Patch constributed by Michel Moren in ↵Howard Hinnant2012-08-131-1/+2
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=13592 . Fixes is_convertible<From, To> when To is an abstract type. llvm-svn: 161755
* [ASan] Add __asan_set_on_error_callback() interface function that allows ↵Alexey Samsonov2012-08-133-1/+23
| | | | | | user to set a callback to be called right when ASan detects an error llvm-svn: 161754
* Implemented -ast-dump, -ast-print, -ast-dump-filter options in clang-checkAlexander Kornienko2012-08-132-1/+78
| | | | llvm-svn: 161753
* Added some preprocessor memory usage stats to -cc1 -print-statsAlexander Kornienko2012-08-131-0/+14
| | | | llvm-svn: 161752
* Added test for non-static use of cl::opt (fixed in r160170)Alexander Kornienko2012-08-131-0/+11
| | | | llvm-svn: 161751
* Add test for previous commit correcting NEON load patterns.Tim Northover2012-08-131-0/+102
| | | | llvm-svn: 161750
* [ASan] If ASan finds second error report, wait for some time and die ↵Alexey Samsonov2012-08-131-4/+4
| | | | | | (instead of running in a busy loop) to make sure ASan won't hang if it finds error while reporting an error in the same thread llvm-svn: 161749
* Use correct loads for vector types during extending-load operations.Tim Northover2012-08-131-36/+36
| | | | | | | | Previously, we used VLD1.32 in all cases, however there are both 16 and 64-bit accesses being selected, so we need to use an appropriate width load in those cases. llvm-svn: 161748
* [Sanitizer] Return cmake support for setting compile definitions for ↵Alexey Samsonov2012-08-131-0/+9
| | | | | | sanitizer_common library llvm-svn: 161747
* Tidy up VSETCC lowering code a bit more by adding an llvm_unreachable and ↵Craig Topper2012-08-131-7/+9
| | | | | | putting an a couple if conditions in a better order. llvm-svn: 161746
* Refactor code a bit to share commonalities. No functional change intended.Craig Topper2012-08-131-20/+21
| | | | llvm-svn: 161745
* This is always going to be true so the cast isn't necessary.Eric Christopher2012-08-131-5/+3
| | | | llvm-svn: 161744
* Fix an unused variable warning from r161742.Craig Topper2012-08-131-3/+0
| | | | llvm-svn: 161743
* Remove the LowerMMXCONCAT_VECTORS function. It could never execute because ↵Craig Topper2012-08-133-57/+1
| | | | | | there are no legal 64-bit vector types that could be used as inputs to a 128-bit concat_vectors. Remove a target specific SDNode and its patterns that become unused as a result. llvm-svn: 161742
* tsan: fix parameter type for pwrite64() interceptorDmitry Vyukov2012-08-121-1/+1
| | | | llvm-svn: 161741
OpenPOWER on IntegriCloud