summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [SelectionDAG] Early out from computeKnownBits when we know we will have no ↵Simon Pilgrim2016-12-241-8/+26
| | | | | | | | common bits. Avoid extra (recursive) calls to computeKnownBits if we already know that there are no common known bits. llvm-svn: 290490
* [clang-tidy] refactor ExprSequence out of use-after-move checkMarek Sokolowski2016-12-244-261/+310
| | | | | | Differential Revision: https://reviews.llvm.org/D27700 llvm-svn: 290489
* [PM] Try to improve the comments here to make what's going on moreChandler Carruth2016-12-241-3/+5
| | | | | | | | clear. Based on post-commit review suggestion from Sean. (Thanks!) llvm-svn: 290488
* Suppress unreachable code warning in unwind testsEric Fiselier2016-12-245-0/+20
| | | | llvm-svn: 290487
* Enable -Wunreachable-code and fix duplicate warning flagsEric Fiselier2016-12-243-9/+9
| | | | llvm-svn: 290486
* Remove accidentally-left-behind commented out code.Richard Smith2016-12-241-1/+0
| | | | llvm-svn: 290485
* Fix crash if substitution fails during deduction of variable template ↵Richard Smith2016-12-244-23/+31
| | | | | | partial specialization arguments. llvm-svn: 290484
* When producing a name of a partial specialization in a diagnostic, use theRichard Smith2016-12-2410-27/+58
| | | | | | | template arguments as written rather than the canonical template arguments, so we print more user-friendly names for template parameters. llvm-svn: 290483
* Fix ASAN test failureEric Fiselier2016-12-241-1/+3
| | | | llvm-svn: 290482
* Fix -Wsign-compare warnings in re tests that only run on OS XEric Fiselier2016-12-247-224/+224
| | | | llvm-svn: 290481
* Fix sign-compare warnings on ARM platforms caused by wchar_t being unsignedEric Fiselier2016-12-241-7/+7
| | | | llvm-svn: 290480
* Avoid unused warning in __throw_future_error w/o exceptions enabledEric Fiselier2016-12-241-0/+1
| | | | llvm-svn: 290479
* clangCodeGen: Add LLVMPasses to libdeps. r290450 introduced it.NAKAMURA Takumi2016-12-241-0/+1
| | | | llvm-svn: 290478
* Fix warning caused by platforms providing a signed wint_tEric Fiselier2016-12-241-1/+2
| | | | llvm-svn: 290477
* Fix yet another missed -Wunused warning. Hopefully this is the last oneEric Fiselier2016-12-241-7/+8
| | | | llvm-svn: 290476
* Fix unused warning which only triggers in C++11Eric Fiselier2016-12-241-0/+3
| | | | llvm-svn: 290475
* fix warnings only produced by apple-clangEric Fiselier2016-12-248-44/+27
| | | | llvm-svn: 290474
* Fix missed sign-compare warningEric Fiselier2016-12-241-1/+1
| | | | llvm-svn: 290473
* fix newly failing c++03 testsEric Fiselier2016-12-242-3/+8
| | | | llvm-svn: 290472
* Fix warnings in libc++abi testsEric Fiselier2016-12-2411-39/+42
| | | | llvm-svn: 290471
* Fix another unused warningEric Fiselier2016-12-241-0/+1
| | | | llvm-svn: 290470
* fix sign comparison warningsEric Fiselier2016-12-246-36/+35
| | | | llvm-svn: 290469
* Mark isOnlyReachableViaThisEdge as constDaniel Berlin2016-12-241-2/+2
| | | | llvm-svn: 290468
* Add an assertion for cl::opt names: they can't start with '-'Mehdi Amini2016-12-231-0/+1
| | | | llvm-svn: 290467
* llvm-size: remove leading dash in '-radix' optionMehdi Amini2016-12-231-1/+1
| | | | | | cl::opt does not accept such option llvm-svn: 290466
* llvm-readobj: remove leading dash in '-a' option (ARMAttributesShort)Mehdi Amini2016-12-231-1/+1
| | | | | | cl::opt does not accept such option llvm-svn: 290465
* llvm-lto2: remove leading '-' for cl::opt declarationMehdi Amini2016-12-231-1/+1
| | | | llvm-svn: 290464
* llvm-lto2: Print diagnostics before exiting (NFC)Mehdi Amini2016-12-231-1/+5
| | | | llvm-svn: 290463
* llvm-lto: pass errs() to the module verifier (NFC)Mehdi Amini2016-12-231-1/+1
| | | | | | | It is more friendly to have the actual diagnostic when the verifier fails. llvm-svn: 290462
* ArrayRefize lists of TemplateArguments in template argument deduction.Richard Smith2016-12-232-50/+35
| | | | llvm-svn: 290461
* [PM] Remove a bunch of junk that snuck in when I failed at manipulatingChandler Carruth2016-12-231-21/+0
| | | | | | my editor to close and commit the patch. Sorry for the noise. llvm-svn: 290460
* Fix unused parameters and variablesEric Fiselier2016-12-23120-266/+305
| | | | llvm-svn: 290459
* [DOXYGEN] Improved doxygen comments for tmmintrin.h intrinsics.Ekaterina Romanova2016-12-231-605/+606
| | | | | | | Added \n commands to insert a line breaks where necessary to make the documentation more readable. Formatted comments to fit into 80 chars. llvm-svn: 290458
* [PM] Teach the always inlining test case to be much more strict aboutChandler Carruth2016-12-232-8/+169
| | | | | | | | | | | | | | | | | | | | whether functions are removed, and fix the new PM's always inliner to actually pass this test. Without this, the new PM's always inliner leaves all the functions kicking around which won't work out very well given the semantics of always inline. Doing this really highlights how frustrating the current alwaysinline semantic contract is though -- why can we put it on *external* functions, etc? Also I've added a number of tricky and interesting test cases for removing functions with the always inliner. There is one remaining case not handled -- fully removing comdats -- and I've left a FIXME about this. llvm-svn: 290457
* [PM] Clean up test case and comments a bit. NFC.Chandler Carruth2016-12-231-2/+5
| | | | llvm-svn: 290456
* [DOXYGEN] Improved doxygen comments for tmmintrin.h intrinsics.Ekaterina Romanova2016-12-231-14/+14
| | | | | | | | Tagged parameter names with \a doxygen command to display parameters in italics. Added \n commands to insert a line break to make the documentation more readable. Formatted comments to fit into 80 chars. llvm-svn: 290455
* Revert "[XRay][AArch64] An attempt to fix test patching-unpatching.cc by ↵Renato Golin2016-12-232-6/+2
| | | | | | | | | flushing the instruction cache after code modification" This reverts commit r290452, not quite there yet. We need to test this offline. llvm-svn: 290453
* [XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing ↵Serge Rogatch2016-12-232-2/+6
| | | | | | | | | | | | | | the instruction cache after code modification Summary: This patch attempts to fix test patching-unpatching.cc . The new code flushes the instruction cache after modifying the program at runtime. Reviewers: dberris, rengolin Subscribers: llvm-commits, iid_iunknown, aemerson Differential Revision: https://reviews.llvm.org/D27996 llvm-svn: 290452
* [PM] Fix up from r290449 to start requiring the x86 target to beChandler Carruth2016-12-231-1/+3
| | | | | | | | | available. It doesn't seem terribly important to test this with a specific target triple but without that target available. llvm-svn: 290451
* [PM] Introduce options to enable the (still experimental) new passChandler Carruth2016-12-238-4/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manager, and a code path to use it. The option is actually a top-level option but does contain 'experimental' in the name. This is the compromise suggested by Richard in discussions. We expect this option will be around long enough and have enough users towards the end that it merits not being relegated to CC1, but it still needs to be clear that this option will go away at some point. The backend code is a fresh codepath dedicated to handling the flow with the new pass manager. This was also Richard's suggested code structuring to essentially leave a clean path for development rather than carrying complexity or idiosyncracies of how we do things just to share code with the parts of this in common with the legacy pass manager. And it turns out, not much is really in common even though we use the legacy pass manager for codegen at this point. I've switched a couple of tests to run with the new pass manager, and they appear to work. There are still plenty of bugs that need squashing (just with basic experiments I've found two already!) but they aren't in this code, and the whole point is to expose the necessary hooks to start experimenting with the pass manager in more realistic scenarios. That said, I want to *strongly caution* anyone itching to play with this: it is still *very shaky*. Several large components have not yet been shaken down. For example I have bugs in both the always inliner and inliner that I have already spotted and will be fixing independently. Still, this is a fun milestone. =D One thing not in this patch (but that might be very reasonable to add) is some level of support for raw textual pass pipelines such as what Sean had a patch for some time ago. I'm mostly interested in the more traditional flow of getting the IR out of Clang and then running it through opt, but I can see other use cases so someone may want to add it. And of course, *many* features are not yet supported! - O1 is currently more like O2 - None of the sanitizers are wired up - ObjC ARC optimizer isn't wired up - ... So plenty of stuff still lef to do! Differential Revision: https://reviews.llvm.org/D28077 llvm-svn: 290450
* [PM] Add support for building a default AA pipeline to the PassBuilder.Chandler Carruth2016-12-233-0/+49
| | | | | | | | | Pretty boring and lame as-is but necessary. This is definitely a place we'll end up with extension hooks longer term. =] Differential Revision: https://reviews.llvm.org/D28076 llvm-svn: 290449
* Don't use posix_memalign on Windows platformsEric Fiselier2016-12-231-0/+4
| | | | llvm-svn: 290448
* Fix PR31440: Make __sanitizer_annotate_contigious_container always visible. ↵Eric Fiselier2016-12-231-1/+1
| | | | | | Fix from Jan Beich llvm-svn: 290447
* Update doc and various cleanupEric Fiselier2016-12-234-38/+98
| | | | llvm-svn: 290446
* Add test that _LIBCPP_VERSION matches __libcpp_versionEric Fiselier2016-12-231-0/+28
| | | | llvm-svn: 290445
* Add release update instructions for libc++Eric Fiselier2016-12-231-0/+11
| | | | llvm-svn: 290444
* Extend the tests for -Wmissing-variable-declarations.Ed Schouten2016-12-231-0/+5
| | | | | | | We shouldn't throw a warning when the static keyword is not present in an anonymous namespace, just like we do for -Wmissing-prototypes. llvm-svn: 290443
* Function-import: Disable IRVerifier on lazy-loaded modules: the ODR ↵Mehdi Amini2016-12-231-8/+0
| | | | | | TypeUniquing generates invalid debug info. llvm-svn: 290442
* Update TestingLibcxx doc to reflect the use_system_cxx_lib flag. Patch from ↵Eric Fiselier2016-12-231-3/+3
| | | | | | Michael Park llvm-svn: 290441
* Add apple-clang-8 to list of XFAILS for some variant tests. Patch from ↵Eric Fiselier2016-12-234-4/+4
| | | | | | Michael Park llvm-svn: 290440
OpenPOWER on IntegriCloud