summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [elf2] Add STB_GNU_UNIQUE support.Michael J. Spencer2015-10-022-0/+25
| | | | llvm-svn: 249193
* [libcxx] Attempt to fix __throw_future_error in C++03 Eric Fiselier2015-10-021-31/+30
| | | | | | | | | | | | | | | | | | Summary: Hi Marshall, Could you please test this patch and see if you run into the same linker errors we talked about? I can't reproduce on linux or OS X. Hopefully you can't find any problems and we can fix the C++03 bot. Reviewers: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13337 llvm-svn: 249192
* [asan] Disable pthread_create_version test on mips.Evgeniy Stepanov2015-10-021-0/+1
| | | | llvm-svn: 249191
* ELF2: Make Writer::assignAddress() a bit shorter. NFC.Rui Ueyama2015-10-021-23/+20
| | | | llvm-svn: 249190
* Fix the CMake buildEnrico Granata2015-10-021-0/+1
| | | | llvm-svn: 249189
* Fix variable names.Rui Ueyama2015-10-021-8/+8
| | | | llvm-svn: 249188
* [WebAssembly] Fix CFG stackification of nested loops.Dan Gohman2015-10-022-4/+45
| | | | llvm-svn: 249187
* Rename alias definitions by both aliased and alias nameEd Maste2015-10-021-7/+7
| | | | | | Differential Revision: http://reviews.llvm.org/D13397 llvm-svn: 249186
* Add hooks that enable NSSet, NSDictionary and NSString formatting to apply ↵Enrico Granata2015-10-0210-389/+596
| | | | | | | | to other types beyond the well-known ones This is meant to support languages that can do some sort of bridging from<-->to these ObjC types via types that statically vend themselves as Cocoa types, but dynamically have an implementation that does not match any of our well-known types, but where an introspecting formatter can be vended by the bridged language llvm-svn: 249185
* [WebAssembly] Support calls marked as "tail", fastcc, and coldcc.Dan Gohman2015-10-022-5/+38
| | | | llvm-svn: 249184
* Call the correct overload.Richard Trieu2015-10-022-5/+7
| | | | | | | Call the correct overload so a string literal does not get converted to a bool. Also fix the test case to match the names given. llvm-svn: 249183
* Fix race on subprocess.Popen return values.Todd Fiala2015-10-022-1/+49
| | | | | | | This fixes: https://llvm.org/bugs/show_bug.cgi?id=25019 llvm-svn: 249182
* [libFuzzer] add a flag -max_total_timeKostya Serebryany2015-10-026-1/+13
| | | | llvm-svn: 249181
* [WebAssembly] Add a __builtin_wasm_resize_memory() intrinsic.Dan Gohman2015-10-023-0/+12
| | | | llvm-svn: 249179
* [WebAssembly] Add a resize_memory intrinsic.Dan Gohman2015-10-024-0/+29
| | | | llvm-svn: 249178
* [SCEV] Refactor out a createNodeForSelectSanjoy Das2015-10-022-88/+107
| | | | | | | | | | | | | Summary: We will shortly re-use this for select-like br-phi pairs. Reviewers: atrick, joker-eph, joker.eph Subscribers: sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D13377 llvm-svn: 249177
* [WebAssembly] Add a __builtin_wasm_memory_size() intrinsic.Dan Gohman2015-10-023-0/+12
| | | | llvm-svn: 249176
* Add static initialization/finalization array support.Rafael Espindola2015-10-024-13/+82
| | | | | | | This adds entries in the dynamic table for .init_array, .fini_array and .preinit_array. llvm-svn: 249175
* [Tests] Add one more case to LoopUnroll/pr18861.ll for better coverage.Michael Zolotukhin2015-10-021-0/+31
| | | | llvm-svn: 249174
* [Tests] Give meaningful names to blocks in LoopUnroll/pr18861.ll, add a ↵Michael Zolotukhin2015-10-021-13/+37
| | | | | | description of what's going on. llvm-svn: 249173
* [Tests] Slightly reduce test LoopUnroll/pr18861.ll.Michael Zolotukhin2015-10-021-16/+4
| | | | llvm-svn: 249172
* [WebAssembly] Add a memory_size intrinsic.Dan Gohman2015-10-024-0/+29
| | | | llvm-svn: 249171
* AMDGPU/SI: Add verifier check for exec readsMatt Arsenault2015-10-022-2/+14
| | | | | | | Make sure we aren't accidentally not setting these in the instruction definitions. llvm-svn: 249170
* Add way to test for generic TargetOpcodesMatt Arsenault2015-10-022-0/+8
| | | | | | | The alternative would be to add a bit to the target's InstrFlags but that seems like a waste of a bit. llvm-svn: 249169
* [SCEV] Try to prove predicates by splitting themSanjoy Das2015-10-023-3/+125
| | | | | | | | | | | | | | | | | | | | | Summary: This change teaches SCEV that to prove `A u< B` it is sufficient to prove each of these facts individually: - B >= 0 - A s< B - A >= 0 In practice, SCEV sometimes finds it easier to prove these facts individually than to prove `A u< B` as one atomic step. Reviewers: reames, atrick, nlewycky, hfinkel Subscribers: sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D13042 llvm-svn: 249168
* Made GetScratchTypeSystemForLanguage return an error if desired.Sean Callanan2015-10-028-27/+46
| | | | | | | Also made it not store nullptrs in its TypeSystemMap, so it will retry to make the AST context if it errored out last time. llvm-svn: 249167
* [Myriad]: Accept '-nostdlib' optionDouglas Katzman2015-10-022-17/+27
| | | | llvm-svn: 249166
* Actually switch the arch when we see .arch. PR21695Roman Divacky2015-10-022-0/+17
| | | | llvm-svn: 249165
* ARM: diagnose invalid local fixups on Thumb1Tim Northover2015-10-029-22/+117
| | | | | | | | | We previously stopped producing Thumb2 relaxations when they weren't supported, but only diagnosed the case where an actual relocation was produced. We should also tell people if local symbols aren't going to work rather than silently overflowing. llvm-svn: 249164
* ARM: correctly align constant pool value on Thumb1 targets.Tim Northover2015-10-022-11/+15
| | | | | | | Since we're using tLDRpci to access it, the constant pool's address must be 0 (mod 4). llvm-svn: 249163
* [ELF2] Simplify test from r249150Hal Finkel2015-10-021-1/+1
| | | | | | | As Rafael pointed out, we don't need quite so many flags on the llvm-readobj RUN line here. llvm-svn: 249162
* [lit] Raise the default soft process limit when possibleHal Finkel2015-10-021-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | It is common to have a default soft process limit, at least on some families of Linux distributions, of 1024. This is normally more than enough, but if you have many cores, and you're running tests that create many threads, this can become a problem. My POWER7 development machine has 48 cores, and when running the lld regression tests, which often want to create up to 48 threads, I run into problems. lit, by default, will want to run 48 tests in parallel, and 48*48 < 1024, and so many tests fail like this: terminate called after throwing an instance of 'std::system_error' what(): Resource temporarily unavailable or lit fails like this when launching a test: OSError: [Errno 11] Resource temporarily unavailable lit can easily detect this situation and attempt to repair it before launching tests (by raising the soft process limit to something that will allow ncpus^2 threads to be created), and should do so to prevent spurious test failures. This is the follow-up to this thread: http://lists.llvm.org/pipermail/llvm-dev/2015-October/090942.html llvm-svn: 249161
* Weak undefined symbols should not fetch archive members.Rafael Espindola2015-10-023-2/+9
| | | | llvm-svn: 249160
* constify four getInstantiatedFromMemberTemplate() in DeclTemplate.h.Yaron Keren2015-10-021-4/+4
| | | | llvm-svn: 249159
* [CMake] Workaround for the lipo output directory not being created.Chris Bieneman2015-10-021-0/+1
| | | | | | This should resolve an issue reported by mclow. llvm-svn: 249158
* Module debugging: Don't emit forward declarations in module scopes.Adrian Prantl2015-10-023-0/+7
| | | | | | A forward declaration inside a module header does not belong to the module. llvm-svn: 249157
* Break long lines for readability.Adrian Prantl2015-10-021-2/+7
| | | | llvm-svn: 249156
* Remove unused variable.Adrian Prantl2015-10-021-1/+0
| | | | llvm-svn: 249155
* [OpenMP] Capture global variables in target regions.Samuel Antao2015-10-026-3/+251
| | | | | | | | | All global variables that are not enclosed in a declare target region must be captured in the target region as local variables do. Currently, there is no support for declare target, so this patch adds support for capturing all the global variables used in a the target region. llvm-svn: 249154
* [ARM] Typo. NFC.Chad Rosier2015-10-021-1/+1
| | | | llvm-svn: 249153
* constify ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember ↵Yaron Keren2015-10-021-4/+4
| | | | | | and VarTemplatePartialSpecializationDecl::getInstantiatedFromMember. llvm-svn: 249152
* Bail-out early if all statements have been simplified awayMichael Kruse2015-10-022-12/+12
| | | | | | Treat the scop as invalid instead of creating dummy domains. llvm-svn: 249151
* [ELF2] Fix mixed-Endian handling in DynamicSection<ELFT>::writeToHal Finkel2015-10-023-2/+36
| | | | | | | | | | | | | | Using the "raw" Elf64_Dyn or Elf32_Dyn structures in DynamicSection<ELFT>::writeTo does not correctly handle mixed-Endian situations. Instead, use the corresponding llvm::object::* structures which have Endian-converting members (like the rest of the code). This fixes all currently-failing elf2 tests when running on big-Endian PPC64/Linux (I've added a big-Endian test case which should fail on little-Endian machines in the same way that test/elf2/shared.s failed on big-Endian machines prior to this change). llvm-svn: 249150
* Ignore --version-script.Rafael Espindola2015-10-021-0/+1
| | | | llvm-svn: 249149
* [OpenMP] Target directive host codegen.Samuel Antao2015-10-025-7/+1035
| | | | | | | | | | | This patch implements the outlining for offloading functions for code annotated with the OpenMP target directive. It uses a temporary naming of the outlined functions that will have to be updated later on once target side codegen and registration of offloading libraries is implemented - the naming needs to be made unique in the produced library. llvm-svn: 249148
* Reapply r249121 : "[FastISel][x86] Teach how to select SSE2/AVX bitcasts ↵Andrea Di Biagio2015-10-023-0/+513
| | | | | | | | | | | | | | | | | | | | | | | between 128/256-bit vector types." This patch teaches FastIsel the following two things: 1) On SSE2, no instructions are needed for bitcasts between 128-bit vector types; 2) On AVX, no instructions are needed for bitcasts between 256-bit vector types. Example: %1 = bitcast <4 x i31> %V to <2 x i64> Before (-fast-isel -fast-isel-abort=1): FastIsel miss: %1 = bitcast <4 x i31> %V to <2 x i64> Now we don't fall back to SelectionDAG and we correctly fold that computation propagating the register associated to %V. Originally reviewed here: http://reviews.llvm.org/D13347 llvm-svn: 249147
* Allow -soname arg in addition to -soname=argEd Maste2015-10-021-0/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D13387 llvm-svn: 249146
* [FIX] Repair broken commitJohannes Doerfert2015-10-022-60/+4
| | | | | | | The last invariant load fix was based on a later patch not polly/master, thus needs to be adjusted. llvm-svn: 249145
* Ignore --enable-new-dtags and --no-fatal-warningsEd Maste2015-10-021-0/+2
| | | | | | | Found while testing a FreeBSD base system build with lld. Ignored for now while we continue to identify missing options and functionality. llvm-svn: 249144
* [DarwinDriver] Reapply: Use -lto_library to specify the path for libLTO.dylibBruno Cardoso Lopes2015-10-024-9/+56
| | | | | | | | | | | | | | | | | | | | | | Reapply r248935. Usually, when using LTO with a clang installation newer than the system's one, there's a libLTO.dylib version mismatch and LTO fails. One solution to this is to make ld point to the right libLTO.dylib by changing DYLD_LIBRARY_PATH. However, ld64 supports specifying the complete path to the desired libLTO.dylib through the -lto_library option. This commit adds support for the clang driver to use this option whenever it's capable of finding a libLTO.dylib in clang's installed library directory. This way, we don't need to rely on DYLD_LIBRARY_PATH nor get caught by version mismatches. Differential Revision: http://reviews.llvm.org/D13117 rdar://problem/7363476 llvm-svn: 249143
OpenPOWER on IntegriCloud