summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [scan-build] Create share directory similar to scan-view'sJonathan Roelofs2015-11-134-10/+10
| | | | llvm-svn: 252981
* Revert "Another little stepping optimization: if any of the source step ↵Ying Chen2015-11-131-9/+2
| | | | | | | | | | commands are running through a range " - Revert because this commit introduce several failures in lldb test suite - http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/8391 - This reverts commit 78943bb678c2893703ee4e8b41969372740c8a6f. llvm-svn: 252980
* [elf2] Implement global dynamic tls.Michael J. Spencer2015-11-137-9/+72
| | | | llvm-svn: 252979
* ELF2: Add comments and reorganize option list a bit.Rui Ueyama2015-11-131-5/+9
| | | | llvm-svn: 252978
* [scan-view] Rename 'Resources' --> 'share'Jonathan Roelofs2015-11-136-10/+10
| | | | llvm-svn: 252977
* compiler-rt: add make solution to bootstrap mingw-w64Martell Malone2015-11-131-0/+30
| | | | | | Differential Revision: http://reviews.llvm.org/D14290 llvm-svn: 252976
* [WebAssembly] Introduce a new pseudo-operand for unused expression results.Dan Gohman2015-11-136-12/+40
| | | | llvm-svn: 252975
* X86-FMA3: Implemented commute transformations FMA*_Int instructions.Vyacheslav Klochkov2015-11-134-172/+515
| | | | | | | | | | It made it possible to apply the memory folding optimization for the 2nd operand of FMA*_Int instructions. Reviewer: Quentin Colombet Differential Revision: http://reviews.llvm.org/D14550 llvm-svn: 252973
* clang/test/Driver/mips-mti-linux.c: Remove XFAIL. It shouldn't fail for ↵NAKAMURA Takumi2015-11-121-1/+1
| | | | | | | | targeting win32. I will remove REQUIRES later. llvm-svn: 252972
* Remove -Wobjc-weak-compat; there isn't a compelling use case for this.John McCall2015-11-123-20/+15
| | | | llvm-svn: 252971
* [SimplifyLibCalls] Make a function shorter. NFC.Davide Italiano2015-11-121-10/+2
| | | | llvm-svn: 252970
* [Hexagon] Adding checks for values out of operand range and correct ↵Colin LeMahieu2015-11-122-0/+82
| | | | | | new-value producer usage. llvm-svn: 252969
* [Hexagon] Adding test to make sure labels and register pairs are correctly ↵Colin LeMahieu2015-11-121-0/+26
| | | | | | parsed. llvm-svn: 252968
* Avoid duplicated diagnostic when lookup for a nested-name-specifier fails ↵Richard Smith2015-11-123-5/+7
| | | | | | due to ambiguity. llvm-svn: 252967
* [CMake] [Darwin] Forcing -fPIC on for all darwin builtins except macho_embeddedChris Bieneman2015-11-121-1/+2
| | | | | | We need to add -fPIC to the flags for the builtins in case PIC was turned off at a higher level. We also want to set ENABLE_PIC to Off when building the macho_embedded builtins so the top-level settings don't impact that build. llvm-svn: 252966
* [CMake] [Darwin] [Builitins] Removing muloti4 from the blacklists for arm.Chris Bieneman2015-11-122-2/+0
| | | | llvm-svn: 252965
* [CMake] [Darwin] [Builtins] Sorting and uniquing blacklists. NFC.Chris Bieneman2015-11-122-92/+10
| | | | llvm-svn: 252964
* Another little stepping optimization: if any of the source step commands are ↵Jim Ingham2015-11-121-2/+9
| | | | | | | | | | | | | | | | | | | | | running through a range of addresses, and the range has no branches, instead of running to the last instruction and single-stepping over that, run to the first instruction after the end of the range. If there are no branches in the current range, then the bytes right after it have to be in the current function, and have to be instructions not data in code, so this is safe. And it cuts down one extra stepi per source range step. Incidentally, this also works around a bug in the llvm Intel assembler where it treats the "rep" prefix as a separate instruction from the repeated instruction. If that were at the end of a line range, then we would put a trap in place of the repeated instruction, which is undefined behavior. Current processors just ignore the repetition in this case, which changes program behavior. Since there would never be a line range break after the rep prefix, always doing the range stepping to the beginning of the new range avoids this problem. <rdar://problem/23461686> llvm-svn: 252963
* specify triple and tighten checks using update_llc_test_checks.pySanjay Patel2015-11-121-61/+62
| | | | llvm-svn: 252962
* Mark clang/test/Driver/ms-bitfields.c as REQUIRES:clang-driver.NAKAMURA Takumi2015-11-121-0/+2
| | | | llvm-svn: 252961
* [modules] Simplify and generalize the existing rule for finding hiddenRichard Smith2015-11-1215-72/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | declarations in redeclaration lookup. A declaration is now visible to lookup if: * It is visible (not in a module, or in an imported module), or * We're doing redeclaration lookup and it's externally-visible, or * We're doing typo correction and looking for unimported decls. We now support multiple modules having different internal-linkage or no-linkage definitions of the same name for all entities, not just for functions, variables, and some typedefs. As previously, if multiple such entities are visible, any attempt to use them will result in an ambiguity error. This patch fixes the linkage calculation for a number of entities where we previously didn't need to get it right (using-declarations, namespace aliases, and so on). It also classifies enumerators as always having no linkage, which is a slight deviation from the C++ standard's definition, but not an observable change outside modules (this change is being discussed on the -core reflector currently). This also removes the prior special case for tag lookup, which made some cases of this work, but also led to bizarre, bogus "must use 'struct' to refer to type 'Foo' in this scope" diagnostics in C++. llvm-svn: 252960
* DR407: Rationalize how we handle tags being hidden by typedefs. Even withRichard Smith2015-11-123-27/+48
| | | | | | | | | | | | | | | | | | DR407, the C++ standard doesn't really say how this should work. Here's what we do (which is consistent with DR407 as far as I can tell): * When performing name lookup for an elaborated-type-specifier, a tag declaration hides a typedef declaration that names the same type. * When performing any other kind of lookup, a typedef declaration hides a tag declaration that names the same type. In any other case where lookup finds both a typedef and a tag (that is, when they name different types), the lookup will be ambiguous. If lookup finds a tag and a typedef that name the same type, and finds anything else, the lookup will always be ambiguous (even if the other entity would hide the tag, it does not also hide the typedef). llvm-svn: 252959
* [Windows] Fix halt_on_error-1.c test on Windows with %env_asan_optsReid Kleckner2015-11-121-2/+2
| | | | llvm-svn: 252958
* Revert r240335.Richard Smith2015-11-127-14/+7
| | | | | | | | | | | | | | | This failed to solve the problem it was aimed at, and introduced just as many issues as it resolved. Realistically, we need to deal with the possibility that multiple modules might define different internal linkage symbols with the same name, and this isn't a problem unless two such symbols are simultaneously visible. The case where two modules define equivalent internal linkage symbols is handled by r252063: if lookup finds multiple sufficiently-similar entities from different modules, we just pick one of them as an extension (but we keep them separate). llvm-svn: 252957
* Revert "Remove unnecessary call to getAllocatableRegClass"Tom Stellard2015-11-126-17/+23
| | | | | | | | | | | | | This reverts commit r252565. This also includes the revert of the commit mentioned below in order to avoid breaking tests in AMDGPU: Revert "AMDGPU: Set isAllocatable = 0 on VS_32/VS_64" This reverts commit r252674. llvm-svn: 252956
* Additional tests from r252690 that I forgot to 'svn add'.Richard Smith2015-11-122-0/+45
| | | | | | From a patch by Nicholas Allegra! llvm-svn: 252955
* Add debug trace message for hierarchical barrierJonathan Peyton2015-11-121-0/+2
| | | | | | Trace when thread is waiting at join phase for oncore children. llvm-svn: 252954
* Remove outdated commentJonathan Peyton2015-11-121-3/+0
| | | | llvm-svn: 252953
* Fix for ittnotify loop reportingJonathan Peyton2015-11-121-1/+3
| | | | | | | | Fix ittnotify loop metadata reporting for schedule(runtime) and chunked schedule set via OMP_SCHEDULE. The bug was that chunk=1 reported always. llvm-svn: 252952
* Revert r252949.Akira Hatanaka2015-11-129-230/+45
| | | | | | It broke some of the bots including clang-x64-ninja-win7. llvm-svn: 252951
* Implement RegisterContext for Mini Dumps.Adrian McCarthy2015-11-1216-307/+304
| | | | | | Differential Revision: http://reviews.llvm.org/D14591 llvm-svn: 252950
* Provide a way to specify inliner's attribute compatibility and mergingAkira Hatanaka2015-11-129-45/+230
| | | | | | | | | | | | rules using table-gen. NFC. This commit adds new classes CompatRule and MergeRule to Attributes.td, which are used to generate code to check attribute compatibility and merge attributes of the caller and callee. rdar://problem/19836465 llvm-svn: 252949
* Revert r243347 "Add TargetTransformInfo::isZExtFree."Sanjoy Das2015-11-124-19/+0
| | | | | | | | | | | r243347 was intended to support a change to LSR (r243348). That change to LSR has since had to be reverted (r243939) because it was buggy, and now the code added in r243347 is untested and unexercised. Given that, I think it is appropriate to revert r243347 for now, with the intent of adding it back in later if I get around to checking in a fixed version of r243348. llvm-svn: 252948
* [ImplicitNulls] Fix wrapping by breaking up a condition, NFCSanjoy Das2015-11-121-4/+4
| | | | llvm-svn: 252947
* [ImplicitNull] Extract out a HazardDetector class, NFCSanjoy Das2015-11-121-53/+96
| | | | | | This will make later functional changes easier to follow. llvm-svn: 252946
* disabling sancov tests: too many failures on different platforms.Mike Aizatsky2015-11-122-0/+0
| | | | | | Differential Revision: http://reviews.llvm.org/D14624 llvm-svn: 252945
* sancov tests - platform independent separatorsMike Aizatsky2015-11-121-4/+4
| | | | llvm-svn: 252943
* [FIX] Bail if access function is not divisible by element size.Johannes Doerfert2015-11-123-5/+38
| | | | llvm-svn: 252942
* Consistenly use getTypeAllocSize for size estimation.Johannes Doerfert2015-11-124-18/+23
| | | | | | | | | Only when we check for wrapping we want to use the store size, for all other cases we use the alloc size now. Suggested by: Tobias Grosser <tobias@grosser.es> llvm-svn: 252941
* My first/test commit. Removed a trailing whitespace.Vyacheslav Klochkov2015-11-121-1/+1
| | | | llvm-svn: 252940
* Finish PyCallable -> PythonCallable conversion.Zachary Turner2015-11-121-258/+88
| | | | | | | | | | | | | | This finishes the effort to port python-wrapper.swig code over to using PythonDataObjects. Also included in this patch is the removal of `PyCallable` from `python-wrapper.swig`, as it is no longer used after having been replaced by `PythonCallable` everywhere. There might be additional cleanup as followup patches, but it should be all fairly simple and minor. llvm-svn: 252939
* Revert "Fix bug 25440: GVN assertion after coercing loads"Tobias Grosser2015-11-122-107/+13
| | | | | | This reverts 252919 which broke LNT: MultiSource/Applications/SPASS llvm-svn: 252936
* Early continue. NFC.Rui Ueyama2015-11-121-8/+8
| | | | llvm-svn: 252935
* ELF2: Make type a bit stricter. NFC.Rui Ueyama2015-11-121-4/+4
| | | | llvm-svn: 252934
* sancov test suiteMike Aizatsky2015-11-129-10/+61
| | | | | | Differential Revision: http://reviews.llvm.org/D14589 llvm-svn: 252933
* [ThinLTO] Update test to be more tolerant of ordering changesTeresa Johnson2015-11-121-40/+40
| | | | | | | | | Update the ThinLTO function importing test to use DAG forms of checks so that it is more tolerant of changes to relative ordering between imported decls/defs. This reduces the number of changes required by the comdat importing patch I am sending for review shortly. llvm-svn: 252932
* [Hexagon] Allocate MCInst in the MCContext to avoid leaking it.Benjamin Kramer2015-11-123-8/+11
| | | | | | Found by leaksanitizer. llvm-svn: 252931
* [asan] Mark halt_on_error-torture test unsupported on android.Evgeniy Stepanov2015-11-121-0/+1
| | | | | | Android libc is missing rand_r until API 21. ASan supports API 19. llvm-svn: 252930
* [CMake] [builtins] Removing a few non-source files from the arm list.Chris Bieneman2015-11-121-2/+0
| | | | | | I was a little too aggressive about adding sources from the arm subdirectory. llvm-svn: 252929
* [CMake] Actually adding the TODO comment I mentioned in r252927.Chris Bieneman2015-11-121-0/+3
| | | | | | Turns out you need to save before committing. llvm-svn: 252928
OpenPOWER on IntegriCloud