summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [WebAssembly] Don't stackify calls past stack pointer modifications.Dan Gohman2016-05-173-21/+56
| | | | llvm-svn: 269843
* Remove trailing whitespace in files in doc/ directoryJonathan Peyton2016-05-172-4/+4
| | | | llvm-svn: 269842
* Remove trailing whitespace from testsJonathan Peyton2016-05-1754-181/+181
| | | | llvm-svn: 269841
* Debug Info: Introduce a DwarfDebug::UseDWARF2Bitfields flagAdrian Prantl2016-05-173-6/+13
| | | | | | | | | instead of having DwarfUnit query the debugger tuning options. Follow-up commmit to r269827. Thanks to Paul Robinson for pointing this out! llvm-svn: 269840
* minor cleanup /NFCXinliang David Li2016-05-172-6/+3
| | | | llvm-svn: 269839
* Test hijacking ADL for operator& in the stream iterator constructors.Eric Fiselier2016-05-172-3/+30
| | | | llvm-svn: 269838
* Remove trailing whitespace in files in tools/ directoryJonathan Peyton2016-05-171-4/+4
| | | | llvm-svn: 269837
* Remove trailing whitespace in CMake filesJonathan Peyton2016-05-172-7/+7
| | | | llvm-svn: 269836
* Remove trailing whitespace in READMEs, CREDITS.txt and index.htmlJonathan Peyton2016-05-175-31/+31
| | | | llvm-svn: 269835
* [esan] Fix isShadowMem endpoint bugDerek Bruening2016-05-171-2/+1
| | | | | | | Fixes a bug in checking the endpoint of a shadow region and removes an invalid check (both introduced in http://reviews.llvm.org/rL269198). llvm-svn: 269834
* Revert r269828 "X86: Avoid using _chkstk when lowering WIN_ALLOCA instructions"Hans Wennborg2016-05-1717-502/+54
| | | | | | Seems to have broken the Windows ASan bot. Reverting while investigating. llvm-svn: 269833
* [codeview] Macroify definition of bitwise operators for flags enums.Zachary Turner2016-05-171-86/+31
| | | | llvm-svn: 269832
* [InstCombine] add another test for wrong icmp constant (PR27792)Sanjay Patel2016-05-172-2/+11
| | | | | | It doesn't matter if the comparison is unsigned; the inc/dec is always signed. llvm-svn: 269831
* [WebAssembly] Stackify induction variable increment instructions.Dan Gohman2016-05-173-42/+109
| | | | | | | This handles instructions where the defined register is also used, as in "x = x + 1". llvm-svn: 269830
* Simple refactoring /NFCXinliang David Li2016-05-171-8/+15
| | | | llvm-svn: 269829
* X86: Avoid using _chkstk when lowering WIN_ALLOCA instructionsHans Wennborg2016-05-1717-54/+502
| | | | | | | | | | | | | | | This patch moves the expansion of WIN_ALLOCA pseudo-instructions into a separate pass that walks the CFG and lowers the instructions based on a conservative estimate of the offset between the stack pointer and the lowest accessed stack address. The goal is to reduce binary size and run-time costs by removing calls to _chkstk. While it doesn't fix all the code quality problems with inalloca calls, it's an incremental improvement for PR27076. Differential Revision: http://reviews.llvm.org/D20263 llvm-svn: 269828
* Debug Info: Don't emit bitfields in the DWARF4 format when tuning for GDB.Adrian Prantl2016-05-173-7/+15
| | | | | | | As discovered in PR27758, GDB does not fully support the DWARF 4 format. This patch ensures we always emit bitfields in the DWARF 2 when tuning for GDB. llvm-svn: 269827
* Update copyright year in LICENSE.txtJonathan Peyton2016-05-171-2/+2
| | | | llvm-svn: 269826
* Add test for r269789Eric Fiselier2016-05-171-0/+2
| | | | llvm-svn: 269812
* Fix an assert in SelectionDAGBuilder when processing inline asmRenato Golin2016-05-1711-34/+39
| | | | | | | | | | | | | | When processing inline asm that contains errors, make sure we can recover gracefully by creating an UNDEF SDValue for the inline asm statement before returning from SelectionDAGBuilder::visitInlineAsm. This is necessary for consumers that don't exit on the first error that is emitted (e.g. clang) and that would assert later on. Fixes PR24071. Patch by Diana Picus. llvm-svn: 269811
* docs: Remove reference to PoCCTobias Grosser2016-05-171-6/+2
| | | | | | Since several releases we do not ship any more with PoCC. llvm-svn: 269809
* Reapply r269782 "[obj2yaml] [yaml2obj] Support for MachO load command ↵Chris Bieneman2016-05-177-66/+709
| | | | | | | | structures"" This adds support for all the MachO *_command structures. The load_command payloads still are not represented, but that will come next. llvm-svn: 269808
* math: Use single precision fmax in sp pathJan Vesely2016-05-171-1/+1
| | | | | | | | | | Fixes fdim piglit on Turks v2: use CL fmax instead of __builtin Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <tom.stellard@amd.com> llvm-svn: 269807
* docs: Do not suggest the user to ignore aliasingTobias Grosser2016-05-171-10/+0
| | | | | | Since a long time Polly can automatically generate run-time alias checks. llvm-svn: 269806
* llvm-dwp: Simplify duplicate DWO ID error handlingDavid Blaikie2016-05-171-9/+9
| | | | llvm-svn: 269805
* [clang-tidy] Lift common matchers to utils namespaceEtienne Bergeron2016-05-176-43/+12
| | | | | | | | | | | | | | Summary: This patch is lifting matchers used by more than one checkers to the common namespace. Reviewers: aaron.ballman, alexfh Subscribers: aaron.ballman, cfe-commits Differential Revision: http://reviews.llvm.org/D19841 llvm-svn: 269804
* [InstCombine] add test for wrong icmp constant (PR27792)Sanjay Patel2016-05-171-0/+12
| | | | | | The code fix for this was checked in at r269797. llvm-svn: 269803
* Dividied ASTMatcherTests into 4 filesPiotr Padlewski2016-05-177-5650/+5703
| | | | | | | fix for long compilation [20061] http://reviews.llvm.org/D20210 llvm-svn: 269802
* Teach clang to look for libcxx in /usr/local/include/c++ on LinuxYaron Keren2016-05-171-5/+5
| | | | | | | | | | | | As The default CMAKE install prefix is /usr/local ( https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html ), sudo ninja install ends up installing clang, LLVM and libcxx under /usr/local. In development scenario, when clang is run from the build location it will not find libcxx at neither (build location)/../include/c++ nor /usr/include/c++. This patch lets development clang find system installed libcxx without adding -isystem /usr/local/include/c++. Also addresses the FIXME by explaining the use-case for these include paths. llvm-svn: 269801
* [LCSSA] Use llvm::any_of instead of std::size_of.Davide Italiano2016-05-171-3/+2
| | | | | | The API is simpler. Suggested by David Blaikie! llvm-svn: 269800
* [sanitizers] disabling LateInitialize call to fix the build.Mike Aizatsky2016-05-172-2/+4
| | | | | | | | http://reviews.llvm.org/rL269291 introduced a memory leak. Disabling offending call temprorary rather than rolling back the chain of CLs. llvm-svn: 269799
* [ThinLTO] Use semicolon to separate path prefix replacementReid Kleckner2016-05-174-10/+9
| | | | | | | | | | | | | | | | Summary: Colons can appear in Windows paths after drive letters. Both colon and semicolon are valid characters in filenames, but neither are very common. Semicolon seems just as good, and makes the test pass on Windows. Reviewers: tejohnson Subscribers: joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D20332 llvm-svn: 269798
* [InstCombine] fix constant to be signed for signed comparisonsSanjay Patel2016-05-171-1/+1
| | | | | | | This bug was introduced in r269728 and is the likely cause of many stage 2 ubsan bot failures. I'll add a test in a follow-up commit assuming this fixes things properly. llvm-svn: 269797
* clang-rename: avoid StringRef members in USRLocFindingASTVisitorMiklos Vajna2016-05-171-2/+2
| | | | | | | | | | | | Even if this is defined in the .cpp file and only used as part of the function (so here it's safe), usually storing StringRefs in the class is dangerous, so don't do so. Reviewers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D20296 llvm-svn: 269796
* Delete unused defaults.Rafael Espindola2016-05-171-3/+2
| | | | llvm-svn: 269795
* NFC: simplify logic.Manman Ren2016-05-171-2/+2
| | | | llvm-svn: 269794
* Allow custom formatting of session log file names.Zachary Turner2016-05-176-12/+34
| | | | | | Differential Revision: http://reviews.llvm.org/D20306 llvm-svn: 269793
* Don't repeat name in comment.Rafael Espindola2016-05-171-3/+3
| | | | llvm-svn: 269792
* [Guards] Add branch metadata when loweringSanjoy Das2016-05-172-5/+17
| | | | | | | Guards are expected to basically never fail. Reflect this in the branch probabilities in their lowered form. llvm-svn: 269791
* [SCEV] Be more aggressive in proving NUWSanjoy Das2016-05-172-7/+80
| | | | | | | | | | ... for AddRec's in loops for which SCEV is unable to compute a max tripcount. This is the NUW variant of r269211 and fixes PR27691. (Note: PR27691 is not a correct or stability bug, it was created to track a pending task). llvm-svn: 269790
* Implement LWG2576: istream_iterator and ostream_iterator should use ↵Marshall Clow2016-05-172-5/+5
| | | | | | std::addressof llvm-svn: 269789
* ELF: accept and ignore --no-undefined-version for compatibilitySaleem Abdulrasool2016-05-171-0/+1
| | | | | | | This is currently unsupported. Accept and ignore the flag for invocation compatibility. llvm-svn: 269788
* Fix line numbers in calling convention testReid Kleckner2016-05-171-9/+9
| | | | llvm-svn: 269787
* [clang-tidy] Skip misc-macro-parentheses for namespaces (Fix PR27400)Vedant Kumar2016-05-172-0/+5
| | | | | | | | | If a use of a macro argument is preceded by the `namespace` keyword, do not warn that the use should be wrapped in parentheses. Patch by Mads Ravn! llvm-svn: 269786
* Revert "[obj2yaml] [yaml2obj] Support for MachO load command structures"Chris Bieneman2016-05-177-590/+33
| | | | | | This reverts commit r269782 because it broke bots with -fpermissive. llvm-svn: 269785
* Change llvm-objdump, llvm-nm and llvm-size when reporting an object file errorKevin Enderby2016-05-1717-63/+254
| | | | | | | | | | | | | | | | | | | | | when the object is in an archive to use something like libx.a(foo.o) as part of the error message. Also changed llvm-objdump and llvm-size to be like llvm-nm and ignore non-object files in archives and not produce any error message. To do this Archive::Child::getAsBinary() was changed from ErrorOr<...> to Expected<...> then that was threaded up to its users. Converting this interface to Expected<> from ErrorOr<> does involve touching a number of places. To contain the changes for now the use of errorToErrorCode() is still used in one place yet to be fully converted. Again there some were bugs in the existing code that did not deal with the old ErrorOr<> return values.  So now with Expected<> since they must be checked and the error handled, I added a TODO and a comments for those. llvm-svn: 269784
* Fix Clang-tidy modernize-use-bool-literals in generated Target code; other ↵Eugene Zelenko2016-05-172-51/+80
| | | | | | | | | | | | minor fixes; other minor fixes. Make generated code more readable. Fix some Include What You Use warnings. Differential revision: http://reviews.llvm.org/D20317 llvm-svn: 269783
* [obj2yaml] [yaml2obj] Support for MachO load command structuresChris Bieneman2016-05-177-33/+590
| | | | | | This adds support for all the MachO *_command structures. The load_command payloads still are not represented, but that will come next. llvm-svn: 269782
* Fix calling convention testReid Kleckner2016-05-171-3/+0
| | | | llvm-svn: 269781
* Tentatively enable -Wcast-calling-convention by defaultReid Kleckner2016-05-171-1/+1
| | | | | | | | | In Chrome, this would have found two true positives around CreateThread if we hadn't already fixed them while rolling out ASan. We didn't get any other hits in Chrome. I'm curious to hear if this warning finds anything in other projects. llvm-svn: 269780
OpenPOWER on IntegriCloud