summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove test for the old debug format which was XFAILed since 2009.Rafael Espindola2013-07-041-18/+0
| | | | llvm-svn: 185647
* Fix bashism.Joerg Sonnenberger2013-07-041-1/+1
| | | | llvm-svn: 185646
* Convert test to FileCheck.Rafael Espindola2013-07-041-27/+27
| | | | llvm-svn: 185645
* Add missing expected-warning.Rafael Espindola2013-07-041-1/+1
| | | | llvm-svn: 185644
* Remove more unused uses of -verify.Rafael Espindola2013-07-042-3/+3
| | | | llvm-svn: 185643
* Add support for MC assembling and disassembling of vsel{ge, gt, eq, vs} ↵Joey Gouly2013-07-046-2/+137
| | | | | | | | | instructions. This adds a new decoder table/namespace 'VFPV8', as these instructions have their top 4 bits as 0b1111, while other Thumb instructions have 0b1110. llvm-svn: 185642
* Remove unused -verify.Rafael Espindola2013-07-041-1/+1
| | | | llvm-svn: 185641
* Fixed typo: NoneComment -> NonComment, no other changes.Alexander Kornienko2013-07-043-26/+26
| | | | llvm-svn: 185640
* clang -cc1 has no -fno-unit-at-a-time or -funit-at-a-time. Fix test.Rafael Espindola2013-07-041-2/+1
| | | | llvm-svn: 185639
* [PowerPC] Add all trap mnemonicsUlrich Weigand2013-07-043-2/+180
| | | | | | | This adds support for all basic and extended variants of the trap instructions to the asm parser. llvm-svn: 185638
* Use a clang -cc1 option instead of -m32 and remove tcl quotes.Rafael Espindola2013-07-041-1/+1
| | | | llvm-svn: 185637
* Remove tcl quotes.Rafael Espindola2013-07-041-1/+1
| | | | llvm-svn: 185636
* Convert test to FileCheck.Rafael Espindola2013-07-041-3/+5
| | | | llvm-svn: 185635
* Replace void with int to make this a valid C++ file.Rafael Espindola2013-07-041-4/+4
| | | | | | | | The test was passing because clang would still print the ast before exiting with an error. Since that didn't seem to be the intent of the test, I change the test instead of adding 'not' to the command line. llvm-svn: 185634
* [PowerPC] Add asm parser support for CR expressionsUlrich Weigand2013-07-043-6/+183
| | | | | | | | This adds support for specifying condition registers and condition register fields via expressions using the symbols defined by the PowerISA, like "4*cr2+eq". llvm-svn: 185633
* SimplifyCFG: Teach switch generation some patterns that instcombine forms.Benjamin Kramer2013-07-042-1/+63
| | | | | | | | This allows us to create switches even if instcombine has munged two of the incombing compares into one and some bit twiddling. This was motivated by enum compares that are common in clang. llvm-svn: 185632
* [ASan] Close stderr before launching atos in asan_symbolize.pyAlexander Potapenko2013-07-041-3/+6
| | | | llvm-svn: 185631
* Remove old test.Rafael Espindola2013-07-041-55/+0
| | | | | | | It was trivially passing because of the tcl quotes and we have better datalayout tests. llvm-svn: 185630
* Remove old test.Rafael Espindola2013-07-041-10/+0
| | | | | | | It was not clear what was being tested and the test was trivially passing by getting grep confused with tcl quotes. llvm-svn: 185629
* Clang has no nested function support. Delete this test.Rafael Espindola2013-07-041-3/+0
| | | | llvm-svn: 185628
* Supporting ssize_t on WIN64 with its proper size. Patch thanks to David ↵Aaron Ballman2013-07-042-2/+11
| | | | | | Cournapeau! llvm-svn: 185627
* [sanitizer] Intercept tcgetattr.Evgeniy Stepanov2013-07-045-3/+42
| | | | llvm-svn: 185626
* Remove the EXCEPTIONADDR, EHSELECTION, and LSDAADDR ISD opcodes.Jakob Stoklund Olesen2013-07-0410-60/+0
| | | | | | These exception-related opcodes are not used any longer. llvm-svn: 185625
* [sanitizer] More interceptors.Evgeniy Stepanov2013-07-046-18/+205
| | | | | | | | | bcopy strtoimax, strtoumax mbstowcs, mbsrtowcs, mbsnrtowcs wcstombs, wcsrtombs, wcsnrtombs llvm-svn: 185624
* Use SmallVectorImpl::const_iterator instead of SmallVector to avoid ↵Craig Topper2013-07-041-2/+2
| | | | | | specifying the vector size. llvm-svn: 185623
* Added AlwaysBreakBeforeMultilineStrings option.Alexander Kornienko2013-07-044-0/+44
| | | | | | | | | | | | | | | | | Summary: Always breaking before multiline strings can help format complex expressions containing multiline strings more consistently, and avoid consuming too much horizontal space. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1097 llvm-svn: 185622
* [ASan] Do not protect the malloc zone created by malloc_zone_create() on ↵Alexander Potapenko2013-07-041-3/+6
| | | | | | | | Snow Leopard and earlier systems. Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=208 llvm-svn: 185621
* Add a V8FP instruction 'vcvt{b,t}' to convert between half and double precision.Joey Gouly2013-07-046-1/+125
| | | | llvm-svn: 185620
* Try to guard a test that requires DEBUG().Rui Ueyama2013-07-042-1/+3
| | | | | | | This is a follow-up patch for r185524. Being assert enabled does not mean that DEBUG() is enabled, so we need to check the existence of DEBUG() itself. llvm-svn: 185619
* Typo.Jakob Stoklund Olesen2013-07-041-1/+1
| | | | llvm-svn: 185618
* Simplify landing pad lowering.Jakob Stoklund Olesen2013-07-043-26/+26
| | | | | | | | | | | | | | | | | | | | | Stop using the ISD::EXCEPTIONADDR and ISD::EHSELECTION when lowering landing pad arguments. These nodes were previously legalized into CopyFromReg nodes, but that never worked properly because the CopyFromReg node weren't guaranteed to be scheduled at the top of the basic block. This meant the exception pointer and selector registers could be clobbered before being copied to a virtual register. This patch copies the two physical registers to virtual registers at the beginning of the basic block, and lowers the landingpad instruction directly to two CopyFromReg nodes reading the *virtual* registers. This is safe because virtual registers don't get clobbered. A future patch will remove the ISD::EXCEPTIONADDR and ISD::EHSELECTION nodes. llvm-svn: 185617
* FastISel can only apend to basic blocks.Jakob Stoklund Olesen2013-07-041-8/+5
| | | | | | | | | | Compute the insertion point from the end of the basic block instead of skipping labels from the front. This caused failures in landing pads when live-in copies where inserted before instruction selection. llvm-svn: 185616
* Live-in copies go *after* EH_LABELs.Jakob Stoklund Olesen2013-07-041-1/+1
| | | | | | This will soon be tested by exception handling working at all. llvm-svn: 185615
* Add test for PR4997. This has been fixed for a while.Richard Smith2013-07-041-0/+1
| | | | llvm-svn: 185614
* Testcase for PR14130, which was probably fixed by r183859.Richard Smith2013-07-041-0/+8
| | | | llvm-svn: 185613
* Tabs to spaces. No functionality change.Nick Lewycky2013-07-041-10/+10
| | | | llvm-svn: 185612
* Add a space between closing template '>' to unbreak build.Craig Topper2013-07-041-1/+1
| | | | llvm-svn: 185611
* Use SmallVectorImpl instead of SmallVector for iterators and references to ↵Craig Topper2013-07-0430-75/+75
| | | | | | avoid specifying the vector size unnecessarily. llvm-svn: 185610
* [analyzer] Suppress reports reported in std::listAnna Zaks2013-07-043-8/+46
| | | | | | | | | | | The motivation is to suppresses false use-after-free reports that occur when calling std::list::pop_front() or std::list::pop_back() twice. The analyzer does not reason about the internal invariants of the list implementation, so just do not report any of warnings in std::list. Fixes radar://14317928. llvm-svn: 185609
* [analyzer] Make sure that inlined defensive checks work on div by zero.Anna Zaks2013-07-043-5/+46
| | | | | | | This suppresses a false positive in std::hash_map. Fixes radar://14255587. llvm-svn: 185608
* Add a space between closing template '>' to unbreak build.Craig Topper2013-07-041-3/+3
| | | | llvm-svn: 185607
* Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ↵Craig Topper2013-07-0429-65/+65
| | | | | | specifying the vector size. llvm-svn: 185606
* Reapply r185601 with a fix for the cmake build.Eric Christopher2013-07-046-1/+137
| | | | llvm-svn: 185605
* Part of PR15673: If a function template has a default argument in whichRichard Smith2013-07-044-6/+62
| | | | | | | | | substitution failed, report that as a substitution failure rather than pretending that there was no default argument. The test cases in PR15673 have exposed some pre-existing poor diagnostics here. llvm-svn: 185604
* Temporarily revert 185601 as it caused cmake build regressions.Eric Christopher2013-07-045-131/+1
| | | | llvm-svn: 185603
* Improve -Wlogical-not-parentheses to catch when the not is applied to an enum.Richard Trieu2013-07-042-1/+68
| | | | llvm-svn: 185602
* Add support for futimens for platforms that don't support futimes.Eric Christopher2013-07-045-1/+131
| | | | | | Patch by pashev.igor. llvm-svn: 185601
* Revert r185595-185596 which broke buildbots.Jakob Stoklund Olesen2013-07-0413-26/+86
| | | | | | | Revert "Simplify landing pad lowering." Revert "Remove the EXCEPTIONADDR, EHSELECTION, and LSDAADDR ISD opcodes." llvm-svn: 185600
* [ObjectiveC migrator] relax the rules for setter/getterFariborz Jahanian2013-07-041-3/+8
| | | | | | | types when deciding on validity of a property inclusion. // rdar://14345082 llvm-svn: 185599
* PR16480: Reimplement token-caching for constructor initializer lists. ThisRichard Smith2013-07-043-63/+217
| | | | | | | | | | | | | | | previously didn't work if a mem-initializer-id had a template argument which contained parentheses or braces. We now implement a simple rule: just look for a ') {' or '} {' that is not nested. The '{' is assumed to start the function-body. There are still two cases which we misparse, where the ') {' comes from a compound literal or from a lambda. The former case is not valid C++, and the latter will probably not be valid C++ once DR1607 is resolved, so these seem to be of low value, and we do not regress on them with this change. EDG and g++ also misparse both of these cases. llvm-svn: 185598
OpenPOWER on IntegriCloud