summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use early return. NFC.Rafael Espindola2015-10-031-12/+12
| | | | llvm-svn: 249224
* Fix clang/test/CodeGenCXX/strict-vtable-pointers.cpp for -Asserts. It missed ↵NAKAMURA Takumi2015-10-031-1/+1
| | | | | | something. :) llvm-svn: 249223
* Try to appease MSVC, NFCI.Sanjoy Das2015-10-031-90/+91
| | | | | | | | This time by lifting the lambda's in `createNodeFromSelectLikePHI` to the file scope. Looks like there are differences in capture rules between clang and MSVC? llvm-svn: 249222
* AMDGPU/SI: Remove unused tablegen multiclassTom Stellard2015-10-031-16/+0
| | | | | | | | | | Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13395 llvm-svn: 249221
* Disallow assigning symbol a null section.Rafael Espindola2015-10-034-14/+2
| | | | | | | They are constructed without one and they can't go back, so this was effectively dead code. llvm-svn: 249220
* Try to appease the MSVC bots, NFCI.Sanjoy Das2015-10-031-1/+1
| | | | llvm-svn: 249219
* [WebAssembly] Rename setlocal to set_local to match the spec.Dan Gohman2015-10-0321-304/+304
| | | | llvm-svn: 249218
* [WebAssembly] Update this test for the new loop scheme.Dan Gohman2015-10-021-1/+1
| | | | llvm-svn: 249217
* Try to appease the MSVC bots, NFC.Sanjoy Das2015-10-021-1/+2
| | | | llvm-svn: 249216
* [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return ↵Kostya Serebryany2015-10-022-2/+4
| | | | | | int instead of void. (following llvm r249214) llvm-svn: 249215
* [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return ↵Kostya Serebryany2015-10-0223-42/+77
| | | | | | int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. llvm-svn: 249214
* [Headers][X86] Fix stream_load (movntdqa) to accept const*.Ahmed Bougacha2015-10-025-8/+8
| | | | | | | | | | Per Intel intrinsics guide: - _mm256_stream_load_si256 takes `__m256i const *' - _mm_stream_load_si128 takes `__m128i *', for no good reason. Let's accept const* for both. llvm-svn: 249213
* Fix comment ASCII art to unbreak the gcc 4.9.1 buildSanjoy Das2015-10-021-8/+8
| | | | | | | | The trailing backslashes in some ASCII art added in r248527 cause a "error: multi-line comment [-Werror=comment]" when building with gcc 4.9.1 -Wall. Swallow (ASCII-)artistic integrity and use pipes instead. llvm-svn: 249212
* [SCEV] Recognize simple br-phi patternsSanjoy Das2015-10-023-143/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Teach SCEV to match patterns like ``` br %cond, label %left, label %right left: br label %merge right: br label %merge merge: V = phi [ %x, %left ], [ %y, %right ] ``` as "select %cond, %x, %y". Before this SCEV would match PHI nodes exclusively to add recurrences. This addresses PR25005. Reviewers: joker.eph, joker-eph, atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13378 llvm-svn: 249211
* Do not attempt to join the remote paths if none existEnrico Granata2015-10-021-1/+1
| | | | llvm-svn: 249210
* Re-disable TestBuiltinTrap on Windows.Zachary Turner2015-10-021-0/+1
| | | | | | This was inadvertently re-enabled as a in r248883. llvm-svn: 249209
* Updated xfail / skip status on a few tests.Zachary Turner2015-10-024-2/+2
| | | | | | | | | | TestDiamond and TestSBValueCast were due to a bug in clang. That bug has been fixed, so xfail is removed. However fixing that bug exposed another bug in clang, which is not yet fixed. That bug causes one test to start crashing, and another to fail unexpectedly so the status of those tests is updated as well. llvm-svn: 249208
* Remove instance reference of static member function.Zachary Turner2015-10-021-9/+8
| | | | llvm-svn: 249207
* Have a clean(er) shutdown when detaching from a process.Zachary Turner2015-10-021-20/+19
| | | | llvm-svn: 249206
* Don't nil check non-nil class receiver of AArch64 stret calls.Ahmed Bougacha2015-10-022-7/+10
| | | | | | | | | | | I randomly came across this difference between AArch64 and other targets: on the latter, we don't emit nil checks for known non-nil class method calls thanks to r247350, but we still do for AArch64 stret calls. They use different code paths, because those are special, as they go through the regular msgSend, not the msgSend*_stret variants. llvm-svn: 249205
* [elf2] Remove unused flag in test.Michael J. Spencer2015-10-021-1/+1
| | | | llvm-svn: 249204
* Fix TestCompDirSymLink.py - remove existing symlink leftovers if previous ↵Oleksiy Vyalov2015-10-021-0/+2
| | | | | | | | test run was terminated (e.g., due timeout). llvm-svn: 249203
* [CMake] We need to explicitly add llvm-config before clang so that ↵Chris Bieneman2015-10-021-2/+3
| | | | | | | | LLVM_BUILD_EXTERNAL_COMPILER_RT can depend on llvm-config. This patch is a required stepping stone to fix PR14109. llvm-svn: 249202
* [ELF/AArch64] Fix a couple of typos. My bad, sorry.Davide Italiano2015-10-021-1/+1
| | | | llvm-svn: 249201
* ELF2: Use less templates so that we can use struct assignment. NFC.Rui Ueyama2015-10-021-33/+20
| | | | llvm-svn: 249200
* [CMake] [darwin] [builtins] Add INSTALL_DIR to darwin_lipo_libsChris Bieneman2015-10-021-5/+11
| | | | | | The darwin and macho_embedded libraries get installed to different locations, so we need to feed through an INSTALL_PATH. llvm-svn: 249199
* [ELF2/AArch64] Add comment and change name to match the one of the ABI.Davide Italiano2015-10-021-2/+5
| | | | | | Fix style while I'm here. llvm-svn: 249198
* Emiting invariant.group.barrier for ctors bugfixPiotr Padlewski2015-10-023-26/+43
| | | | | | | | | | | | | Ensure that the vptr store in the most-derived constructor is not behind an invariant group barrier. Previously, the base-most vptr store would be the one behind no barrier, and that could result in the creator of the object thinking it had the base-most vtable. This bug caused clang call pure virtual functions when called from constructor body. http://reviews.llvm.org/D13373 llvm-svn: 249197
* inariant.group handling in GVNPiotr Padlewski2015-10-0210-39/+521
| | | | | | | | | | | | The most important part required to make clang devirtualization works ( ͡°͜ʖ ͡°). The code is able to find non local dependencies, but unfortunatelly because the caller can only handle local dependencies, I had to add some restrictions to look for dependencies only in the same BB. http://reviews.llvm.org/D12992 llvm-svn: 249196
* [ELF2/AArch64] Add support for R_AARCH64_ADR_PREL_PG_H121Davide Italiano2015-10-022-5/+37
| | | | llvm-svn: 249195
* [libFuzzer] remove experimental flag and functionalityKostya Serebryany2015-10-025-38/+3
| | | | llvm-svn: 249194
* [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
OpenPOWER on IntegriCloud