summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix CMake configuration errors on OS XEric Fiselier2017-03-041-3/+6
| | | | llvm-svn: 296954
* [ODRHash] Change test to try to appease buildbot.Richard Trieu2017-03-041-0/+2
| | | | llvm-svn: 296953
* [libcxxabi] Fix alignment of allocated exceptions in 32 bit buildsEric Fiselier2017-03-044-16/+74
| | | | | | | | | | | | | | | | | Summary: In 32 bit builds on a 64 bit system `std::malloc` does not return correctly aligned memory. This leads to undefined behavior. This patch switches to using `posix_memalign` to allocate correctly aligned memory instead. Reviewers: mclow.lists, danalbert, jroelofs, compnerd Reviewed By: compnerd Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25417 llvm-svn: 296952
* Disable the lldb-mi tests on remote platforms.Sean Callanan2017-03-0416-0/+64
| | | | | | | Currently on remote platforms the lldb-mi tests fail, which means they time out. Given how many of the lldb-mi tests there are, this means a long wait. llvm-svn: 296951
* X86ISelLowering: Only perform copy elision on legal types.Matthias Braun2017-03-042-35/+60
| | | | | | | | | This fixes cases where i1 types were not properly legalized yet and lead to the creating of 0-sized stack slots. This fixes http://llvm.org/PR32136 llvm-svn: 296950
* Fix build.Peter Collingbourne2017-03-041-1/+1
| | | | llvm-svn: 296949
* WholeProgramDevirt: Implement exporting for uniform ret val opt.Peter Collingbourne2017-03-042-6/+55
| | | | | | Differential Revision: https://reviews.llvm.org/D29846 llvm-svn: 296948
* Fix a bug in the dep analysis script.Zachary Turner2017-03-041-0/+1
| | | | | | | It wasn't always normalizing slashes correctly, so you'd end up with the same thing in the map twice. llvm-svn: 296947
* Delete LLDB's code for getting / setting thread name.Zachary Turner2017-03-0415-307/+7
| | | | | | | This is now functionality in LLVM, and all callers have already been updated to use the LLVM functions. llvm-svn: 296946
* WholeProgramDevirt: Implement exporting for single-impl devirtualization.Peter Collingbourne2017-03-042-6/+132
| | | | | | Differential Revision: https://reviews.llvm.org/D29811 llvm-svn: 296945
* Add dependency on DynamicLoaderStatic to Utility.Zachary Turner2017-03-041-0/+1
| | | | llvm-svn: 296944
* Move DataBuffer / DataExtractor and friends from Core -> Utility.Zachary Turner2017-03-04179-308/+308
| | | | llvm-svn: 296943
* teach LIT how to detect the glibc versionEric Fiselier2017-03-041-0/+8
| | | | llvm-svn: 296942
* Move UUID from Core -> Utility.Zachary Turner2017-03-0423-27/+33
| | | | llvm-svn: 296941
* Fix PR25874 - Detect features required for cxa_thread_atexit_test.pass.cppEric Fiselier2017-03-044-0/+10
| | | | llvm-svn: 296940
* WholeProgramDevirt: Add any unsuccessful llvm.type.checked.load ↵Peter Collingbourne2017-03-044-12/+146
| | | | | | | | | | | | | devirtualizations to the list of llvm.type.test users. Any unsuccessful llvm.type.checked.load devirtualizations will be translated into uses of llvm.type.test, so we need to add the resulting llvm.type.test intrinsics to the function summaries so that the LowerTypeTests pass will export them. Differential Revision: https://reviews.llvm.org/D29808 llvm-svn: 296939
* Fix the macOS build all the way after r296909.Jim Ingham2017-03-042-72/+97
| | | | llvm-svn: 296938
* [scan-build-py] create decorator for compiler wrapper methodsLaszlo Nagy2017-03-047-114/+208
| | | | | | Differential Revision: https://reviews.llvm.org/D29260 llvm-svn: 296937
* Turn on -Wunused-function and cleanup occurancesEric Fiselier2017-03-043-15/+14
| | | | llvm-svn: 296936
* NewGVN: Be consistent in what order we compare operands for swapping.Daniel Berlin2017-03-041-2/+2
| | | | | | NFC. llvm-svn: 296935
* [MISched] Remove unused arguments. NFC.Eli Friedman2017-03-041-4/+2
| | | | llvm-svn: 296934
* [x86] check for commuted add pattern to find ADC/SBBSanjay Patel2017-03-042-8/+14
| | | | llvm-svn: 296933
* [ODRHash] Add support for detecting different method properties.Richard Trieu2017-03-044-10/+241
| | | | | | | | Now print diagnostics for static, virtual, inline, volatile, and const differences in methods. Also use DeclarationName instead of IdentifierInfo for additional robustness in diagnostic printing. llvm-svn: 296932
* [x86] add test to show failed recognition of commuted pattern; NFCSanjay Patel2017-03-041-0/+14
| | | | llvm-svn: 296931
* Fix DataExtractor failures.Zachary Turner2017-03-034-21/+22
| | | | | | | Some code that doesn't get compiled on Windows had some references that needed updating, and I missed those. llvm-svn: 296930
* Restrict test arch-specific-libdir.c to LinuxPirama Arumuga Nainar2017-03-031-0/+2
| | | | | | | | | | | | Summary: This fails on Windows due to dependence on path separators. Reviewers: rnk, srhines Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30595 llvm-svn: 296929
* RegAllocGreedy: Follow-up to r296722Matthias Braun2017-03-031-1/+5
| | | | | | | | | We can now end up in situations where we initiate LiveIntervalUnion queries with different SubRanges against the same register unit, so the assert() no longer holds in all cases. Just recalculate now when we know the cache is out of date. llvm-svn: 296928
* Add arch-specific directory to search pathPirama Arumuga Nainar2017-03-0310-1/+149
| | | | | | | | | | | | | | | | | Summary: This change adds an arch-specific subdirectory in <ResourceDir>/lib/<OS> to the linker search path. This path also gets added as '-rpath' for native compilation if a runtime is linked in as a shared object. This allows arch-specific libraries to be installed alongside clang. Reviewers: danalbert, cbergstrom, javed.absar Subscribers: srhines Differential Revision: https://reviews.llvm.org/D30015 llvm-svn: 296927
* Revert r296865 "[ARM] fpscr read/write intrinsics not aware of each other"Hans Wennborg2017-03-032-24/+1
| | | | | | It caused PR32134: "Cannot select: intrinsic %llvm.arm.get.fpscr". llvm-svn: 296926
* Fix Darwin failures introduced in r296909Tim Hammerquist2017-03-031-4/+4
| | | | llvm-svn: 296925
* Fixed repo.py to not send git errors to stderr.Sean Callanan2017-03-031-1/+1
| | | | | | | | Some repos are not git repos, so git is expected to fail. These errors should not go to stderr, because Xcode interprets them as failures. llvm-svn: 296924
* GlobalISel: constrain G_INSERT to inserting just one value per instruction.Tim Northover2017-03-037-20/+20
| | | | | | | It's much easier to reason about single-value inserts and no-one was actually using the variadic variants before. llvm-svn: 296923
* Remove the buildit and testit scripts; they haven't been supported in yearsEric Fiselier2017-03-032-372/+0
| | | | llvm-svn: 296922
* GlobalISel: add merge/unmerge nodes for legalization.Tim Northover2017-03-0310-31/+139
| | | | | | | | | | | | | | These are simplified variants of the current G_SEQUENCE and G_EXTRACT, which assume the individual parts will be contiguous, homogeneous, and occupy the entirity of the larger register. This makes reasoning about them much easer since you only have to look at the first register being merged and the result to know what the instruction is doing. I intend to gradually replace all uses of the more complicated sequence/extract with these (or single-element insert/extracts), and then remove the older variants. For now we start with legalization. llvm-svn: 296921
* Add a script to dump out all project inter-dependencies.Zachary Turner2017-03-031-0/+65
| | | | llvm-svn: 296920
* Fix hash requirements check in __hash_table.Eric Fiselier2017-03-033-9/+47
| | | | | | | | | | | | | | r296565 attempted to add better diagnostics when an unordered container is instantiated with a hash that doesn't meet the Hash requirements. However I mistakenly checked the wrong set of requirements. Specifically it checked if the hash met the requirements for specializations of std::hash. However these requirements are stricter than the generic Hash requirements. This patch fixes the assertions to only check the Hash requirements. llvm-svn: 296919
* [x86] refactor combineAddOrSubToADCOrSBB(); NFCISanjay Patel2017-03-031-21/+25
| | | | | | | | | | | | The comments were wrong, and this is not an obvious transform. This hopefully makes it clearer that we're missing the commuted patterns for adds. It's less clear that this is actually a good transform for all micro-arch. This is prep work for trying to clean up the current adc/sbb codegen because it's definitely not happening optimally. llvm-svn: 296918
* Silence a warning, NFCKrzysztof Parzyszek2017-03-031-0/+1
| | | | llvm-svn: 296917
* [PGO] Text format profile reader needs to clear the value profileRong Xu2017-03-033-1/+17
| | | | | | | | | | | | | | | | Summary: Reset the ValueData for each function to avoid using the ones in the previous function. Reviewers: davidxl Reviewed By: davidxl Subscribers: llvm-commits, xur Differential Revision: https://reviews.llvm.org/D30479 llvm-svn: 296916
* Detect the existence of pthread_{s,g}etname_np in libpthread on LinuxKrzysztof Parzyszek2017-03-032-0/+12
| | | | | | Older Linux distributions may not have those functions. llvm-svn: 296915
* Fix Threading path when LLVM_ENABLE_THREADS=0.Zachary Turner2017-03-031-1/+1
| | | | llvm-svn: 296914
* un-Xfail Fuzzer test that decided to pass on Green DragonMehdi Amini2017-03-031-1/+0
| | | | | | It may be flacky, I'll turn it into unsupported if it fails again. llvm-svn: 296913
* MC: De-duplicate the object streamer implementations of EmitFileDirective ↵Peter Collingbourne2017-03-0310-30/+7
| | | | | | into MCObjectStreamer. NFCI. llvm-svn: 296912
* [ObjectYAML] [DWARF] Abstract DWARF Initial Length valuesChris Bieneman2017-03-039-49/+98
| | | | | | | | In the DWARF 4 Spec section 7.2.2, data in many DWARF sections, and some DWARF structures start with "Initial Length Values", which are a 32-bit length, and an optional 64-bit length if the 32 bit value == UINT32_MAX. This patch abstracts the Initial Length type in YAML, and extends its use to all the DWARF structures that are supported in the DWARFYAML code that have Initial Length values. llvm-svn: 296911
* Isolate Target-specific functionality of DataExtractor.Zachary Turner2017-03-0325-1143/+1149
| | | | | | | | | | | | | | | | In an effort to move the various DataBuffer / DataExtractor classes from Core -> Utility, we have to separate the low-level functionality from the higher level functionality. Only a few functions required anything other than reading/writing raw bytes, so those functions are separated out into a more appropriate area. Specifically, Dump() and DumpHexBytes() are moved into free functions in Core/DumpDataExtractor.cpp, and GetGNUEHPointer is moved into a static function in the only file that it's referenced from. Differential Revision: https://reviews.llvm.org/D30560 llvm-svn: 296910
* Move Log from Core -> Utility.Zachary Turner2017-03-03274-319/+305
| | | | | | | | | All references to Host and Core have been removed, so this class can now safely be lowered into Utility. Differential Revision: https://reviews.llvm.org/D30559 llvm-svn: 296909
* [x86] regenerate checks; NFCSanjay Patel2017-03-031-33/+50
| | | | llvm-svn: 296908
* LTO: Hash the set of imported symbols for each module.Peter Collingbourne2017-03-034-1/+65
| | | | | | | | | | This set may affect code generation and is sensitive to link order (and possibly in the future to the linker's choice of prevailing symbol), so we need to include it. Differential Revision: https://reviews.llvm.org/D30586 llvm-svn: 296907
* [Windows] Remove the #include <eh.h> hack.Zachary Turner2017-03-0319-155/+0
| | | | | | | | | | Prior to MSVC 2015 we had to manually include this header any time we were going to include <thread> or <future> due to a bug in MSVC's STL implementation. This has been fixed in MSVC for some time now, and we require VS 2015 minimum, so we can remove this across all subprojects. llvm-svn: 296906
* RegisterCoalescer: Simplify subrange splitting code; NFCMatthias Braun2017-03-034-98/+75
| | | | | | - Use slightly better variable names / compute in a more direct way. llvm-svn: 296905
OpenPOWER on IntegriCloud