summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [SimplifyLibCalls] Remove useless bits of this tests.Davide Italiano2015-11-301-6/+6
| | | | llvm-svn: 254318
* [SimplifyLibCalls] Transform log(exp2(y)) to y*log(2) under fast-math.Davide Italiano2015-11-303-1/+35
| | | | llvm-svn: 254317
* [CMake] Moving -fvisibility-inlines-hidden append as per post-commit reviewChris Bieneman2015-11-302-1/+1
| | | | | | Thanks Alexey. llvm-svn: 254316
* [X86] Add RIP to GR64_TCW64David Majnemer2015-11-303-2/+18
| | | | | | | | | The MachineVerifier wants to check that the register operands of an instruction belong to the instruction's register class. RIP-relative control flow instructions violated this by referencing RIP. While this was fixed for SysV, it was never fixed for Win64. llvm-svn: 254315
* Enable shrink wrapping for PPC64Kit Barton2015-11-302-7/+14
| | | | | | | | | | | Re-enable shrink wrapping for PPC64 Little Endian. One minor modification to PPCFrameLowering::findScratchRegister was necessary to handle fall-thru blocks (blocks with no terminator) correctly. Tested with all LLVM test, clang tests, and the self-hosting build, with no problems found. PHabricator: http://reviews.llvm.org/D14778 llvm-svn: 254314
* Fix another llvm.ctors merging bug.Rafael Espindola2015-11-303-2/+18
| | | | | | | We were not looking past casts to see if an element should be included or not. llvm-svn: 254313
* [WebAssembly] Fix a few minor compiler warnings. NFC.Dan Gohman2015-11-301-7/+7
| | | | llvm-svn: 254311
* fix formatting; NFCSanjay Patel2015-11-301-6/+7
| | | | llvm-svn: 254310
* [ELF] - Split RelocationSection<ELFT>::writeTo function.George Rimar2015-11-302-19/+29
| | | | | | | | Splitted writeTo to separate tls relocs handling stuff which is too long for one method now. NFC. Differential revision: http://reviews.llvm.org/D15012 llvm-svn: 254309
* [CMake] Add -fvisibility-inlines-hidden if the compiler supports it.Chris Bieneman2015-11-301-0/+6
| | | | | | This results in a significant reduction in the size of the sanitizer libraries. llvm-svn: 254308
* [Hexagon] NFC Reordering headers.Colin LeMahieu2015-11-301-1/+1
| | | | llvm-svn: 254307
* Add --gcc-toolchain= to one of the libclang unitests to fix issue related to Samuel Antao2015-11-301-1/+2
| | | | | | | the gcc libraries clang picks for when it was configures with a user defined path. llvm-svn: 254306
* ScopInfo: Replace while/iterator construct with std::remove_ifTobias Grosser2015-11-301-21/+9
| | | | | | | | | | | The use of C++'s high-level iterator functionality instead of two while loops and explicit iterator handling improves readability of this code. Proposed-by: Michael Kruse <llvm@meinersbur.de> Differential Revision: http://reviews.llvm.org/D15068 llvm-svn: 254305
* AMDGPU: Don't reserve SCRATCH_PTR input registerMatt Arsenault2015-11-302-13/+5
| | | | | | This hasn't been doing anything since using relocations was added. llvm-svn: 254304
* Do not crash when dumping the objc_bridge_related attribute when its ↵Aaron Ballman2015-11-303-2/+8
| | | | | | | | optional arguments are not supplied. Patch thanks to Joe Ranieri! llvm-svn: 254303
* Silencing a 32-bit to 64-bit implicit conversion warning; NFC.Aaron Ballman2015-11-301-1/+1
| | | | llvm-svn: 254302
* [sanitizer] Detect an invalid answer in AtosSymbolizerKuba Brecka2015-11-301-0/+6
| | | | | | | | On OS X, in AtosSymbolizer, if the answer from atos doesn't contain module name, let's bail and return false. There are some cases where this is beneficial, because we'll try DlAddrSymbolizer next (it's next in the symbolizer chain), which might be able to symbolize something that atos couldn't. Differential Revision: http://reviews.llvm.org/D15071 llvm-svn: 254301
* [tsan] Change comments referencing code.google.com to point to GitHub ↵Kuba Brecka2015-11-3010-10/+10
| | | | | | | | | | instead. NFC. Changing comments that have references to code.google.com to point to GitHub instead, because the current links are not redirected properly (they instead redirect to different issues, mostly ASan). NFC. Differential Revision: http://reviews.llvm.org/D15053 llvm-svn: 254300
* [tsan] Fix signals and setjmp/longjmp on OS XKuba Brecka2015-11-303-4/+13
| | | | | | | | | | 1) There's a few wrongly defined things in tsan_interceptors.cc, 2) a typo in tsan_rtl_amd64.S which calls setjmp instead of sigsetjmp in the interceptor, and 3) on OS X, accessing an mprotected page results in a SIGBUS (and not SIGSEGV). Differential Revision: http://reviews.llvm.org/D15052 llvm-svn: 254299
* [tsan] Fix weakly imported functions on OS XKuba Brecka2015-11-308-19/+22
| | | | | | | | | | On OS X, for weak function (that user can override by providing their own implementation in the main binary), we need extern `"C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE NOINLINE`. Fixes a broken test case on OS X, java_symbolization.cc, which uses a weak function __tsan_symbolize_external. Differential Revision: http://reviews.llvm.org/D14907 llvm-svn: 254298
* [mips][microMIPS] Implement LBUX, LHX, LWX, MAQ_S[A].W.PHL, MAQ_S[A].W.PHR, ↵Hrvoje Varga2015-11-305-11/+97
| | | | | | | | MFHI, MFLO, MTHI and MTLO instructions Differential Revision: http://reviews.llvm.org/D14436 llvm-svn: 254297
* [mips][microMIPS] Fix issue with offset operand of BALC and BC instructionsZoran Jovanovic2015-11-306-6/+54
| | | | | | | Value of offset operand for microMIPS BALC and BC instructions is currently shifted 2 bits, but it should be 1 bit. Differential Revision: http://reviews.llvm.org/D14770 llvm-svn: 254296
* AVX512: regenerate avx512bw intrincics tests results.Igor Breger2015-11-301-470/+879
| | | | | | Differential Revision: http://reviews.llvm.org/D15069 llvm-svn: 254295
* [RS] Support RenderScript struct allocationsEwan Crawford2015-11-302-116/+409
| | | | | | | | | | | | This patch adds functionality for dumping allocations of struct elements. This involves: + Jitting the runtime for details on all the struct fields. + Finding the name of the struct type by looking for a global variable of the same type, which will have been reflected back to the java host code. + Using this struct type name to pass into expression evaluation for pretty printing the data for the dump command. llvm-svn: 254294
* [mips][ias] Removed MSA instructions from base architecture valid-xfail.s's.Daniel Sanders2015-11-307-330/+62
| | | | | | | valid-xfail.s is for instructions that should be valid in the given ISA but incorrectly fail. MSA instructions are correct to fail since MSA is not enabled. llvm-svn: 254293
* [asan] Old Linux kernels (< 3.0) don't define ARM_VFPREGS_SIZE that leads toYury Gribov2015-11-301-0/+8
| | | | | | | | | | build errors on ARM. Define it internally to avoid such errors. Patch by Max Ostapenko. Differential Revision: http://reviews.llvm.org/D14921 llvm-svn: 254292
* [mips][microMIPS] Implement PRECR.QB.PH, PRECR_SRA[_R].PH.W, PRECRQ.PH.W, ↵Zlatko Buljan2015-11-307-7/+63
| | | | | | | | PRECRQ.QB.PH, PRECRQU_S.QB.PH and PRECRQ_RS.PH.W instructions Differential Revision: http://reviews.llvm.org/D14605 llvm-svn: 254291
* Last bit of P0006; mark it as completeMarshall Clow2015-11-303-1/+13
| | | | llvm-svn: 254290
* Fix bugs in alignment_of_v, etc. Re-enable the newly added testsMarshall Clow2015-11-304-19/+19
| | | | llvm-svn: 254289
* Temporarily disable new tests while I figure out what's going onMarshall Clow2015-11-303-19/+19
| | | | llvm-svn: 254288
* Fix bad macrosMarshall Clow2015-11-301-1/+1
| | | | llvm-svn: 254287
* Missing file from last commitMarshall Clow2015-11-301-0/+33
| | | | llvm-svn: 254286
* Implement more of P0006; Type Traits Variable Templates. <ratio>Marshall Clow2015-11-306-54/+120
| | | | llvm-svn: 254285
* Fix bad macros in testsMarshall Clow2015-11-303-5/+5
| | | | llvm-svn: 254284
* Implement more of P0006; Type Traits Variable Templates.Marshall Clow2015-11-307-2/+93
| | | | llvm-svn: 254283
* Use range-based for loop to avoid the need for calculating an array size. NFCCraig Topper2015-11-301-4/+1
| | | | llvm-svn: 254282
* Use std::begin() and std::end() instead of doing the same manually. NFCCraig Topper2015-11-301-4/+2
| | | | llvm-svn: 254281
* Revert r254279 "[X86] Use ArrayRef. NFC". It seems to have upset an MSVC ↵Craig Topper2015-11-301-4/+7
| | | | | | build bot. llvm-svn: 254280
* [X86] Use ArrayRef. NFCCraig Topper2015-11-301-7/+4
| | | | llvm-svn: 254279
* [ADT] Fix typo in commentSanjoy Das2015-11-301-1/+1
| | | | llvm-svn: 254278
* [AVX512] The vpermi2 instructions require an integer vector for the index ↵Craig Topper2015-11-303-35/+66
| | | | | | | | vector. This is reflected correctly in the intrinsics, but was not refelected in the isel patterns. For the floating point types, this requires adding a bitcast to the index vector when its passed through to the output. llvm-svn: 254277
* [SCEV] Use lambda instead of std::bind; NFCSanjoy Das2015-11-291-2/+3
| | | | | | The lambda is more readable. llvm-svn: 254276
* [SCEV] Use range version of all_of; NFCSanjoy Das2015-11-291-13/+10
| | | | llvm-svn: 254275
* [X86] Remove duplicate entries from intrinsics tables and add asserts to ↵Craig Topper2015-11-291-22/+7
| | | | | | verify there are no others. llvm-svn: 254274
* Fix out of bounds access in hasStructRetAttrSanjoy Das2015-11-291-0/+6
| | | | llvm-svn: 254273
* [WebAssembly] Delete an obsolete TODO comment.Dan Gohman2015-11-291-1/+0
| | | | llvm-svn: 254272
* [WebAssembly] Set several MCInstrDesc flags.Dan Gohman2015-11-294-0/+20
| | | | llvm-svn: 254271
* [X86] _mm256_permutevar8x32_ps should take an integer vector for its shuffle ↵Craig Topper2015-11-293-4/+4
| | | | | | index input. llvm-svn: 254270
* [X86] int_x86_avx2_permps and X86ISD::VPERMV should take an integer vector ↵Craig Topper2015-11-295-11/+13
| | | | | | for its shuffle indices. llvm-svn: 254269
* [WebAssembly] Delete unused functions. NFC.Dan Gohman2015-11-291-6/+0
| | | | llvm-svn: 254268
OpenPOWER on IntegriCloud