summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Recognize -Bshareable alias for -sharedEd Maste2015-10-151-0/+1
| | | | llvm-svn: 250397
* AVX512: Implemented encoding and intrinsics for vpternlogd/q.Igor Breger2015-10-1510-4/+751
| | | | | | Differential Revision: http://reviews.llvm.org/D13768 llvm-svn: 250396
* Rename CAlloc since it allocates sections, not chunks.Rafael Espindola2015-10-151-2/+2
| | | | llvm-svn: 250395
* Remove unnecessary llvm:: prefix.Rafael Espindola2015-10-151-1/+1
| | | | llvm-svn: 250394
* Add -sort-includes to our automatic source code formattingTobias Grosser2015-10-151-2/+2
| | | | llvm-svn: 250393
* Sort includes using 'clang-format -sort-includes'Tobias Grosser2015-10-153-4/+4
| | | | llvm-svn: 250392
* Superficial fix for the windows build when building with ↵Aidan Dodds2015-10-151-0/+2
| | | | | | LLDB_DISABLE_PYTHON. The definition of lldb::SBTypeSummary and some methods of lldb::SBValue are hidden via a LLDB_DISABLE_PYTHON check, causing an compilation fail because of their use here. llvm-svn: 250391
* AVX-512: Fixed a bug in shuffle lowering 32-bit modeElena Demikhovsky2015-10-152-607/+1460
| | | | | | | | | AVX-512 bit shuffle fails on 32 bit since we create a vector of 64-bit constants. I split 8x64-bit const vector to 16x32 on 32-bit mode. Differential Revision: http://reviews.llvm.org/D13644 llvm-svn: 250390
* Add testcase for SCEV explansion in non-affine subregionsMichael Kruse2015-10-151-0/+89
| | | | | | | | | | When sharing the same map from old to new value, CodeGeneration would reuse the same new value for each basic block. However, the SCEV expander might emit code in a basic block that does not dominate a use of the SCEV in another basic block. This test checks whether both such blocks have their own expanded new values. llvm-svn: 250389
* Headers: Switch some headers to LF line endings for consistency.Peter Collingbourne2015-10-155-343/+343
| | | | llvm-svn: 250388
* [x86] Merge test pr24562.ll into x86-fold-pshufb.ll. NFC.Andrea Di Biagio2015-10-152-20/+18
| | | | llvm-svn: 250387
* Make windows.h less evil.Benjamin Kramer2015-10-151-0/+3
| | | | llvm-svn: 250386
* [llvm-pdbdump] Remove oddly placed parens that MSVC doesn't likeBenjamin Kramer2015-10-151-1/+1
| | | | llvm-svn: 250385
* Don't pretend AMDGPU backend knows how to custom-lower UDIVREM for vector ↵Artyom Skrobov2015-10-151-1/+1
| | | | | | | | | | | | types; it can't Reviewers: arsenm, jvesely, tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13734 llvm-svn: 250384
* Speculatively unbreak Windows buildDavid Majnemer2015-10-151-2/+2
| | | | | | | | <windows.h> defines macros named min and max in conflict with <algorithm>. Prevent macro expansion by wrapping std::min in parenthesis. llvm-svn: 250383
* [mips][microMIPS] Implement DPA.W.PH, DPAQ_S.W.PH, DPAQ_SA.L.W, ↵Zlatko Buljan2015-10-156-14/+59
| | | | | | | | DPAQX_S.W.PH, DPAQX_SA.W.PH, DPAU.H.QBL, DPAU.H.QBR and DPAX.W.PH instructions Differential Revision: http://reviews.llvm.org/D13376 llvm-svn: 250382
* [mips][microMIPS] Implement BREAK16, LI16, MOVE16, SDBBP16, SUBU16 and XOR16 ↵Hrvoje Varga2015-10-157-13/+111
| | | | | | | | instructions Differential Revision: http://reviews.llvm.org/D11292#inline-103143 llvm-svn: 250381
* Fix warnings in LLDBWrapPython.cpp with gcc 4.9.Hafiz Abid Qadeer2015-10-151-1/+1
| | | | | | | | | | | | | | | | | Summary: I see a lot of following warnings in LLDBWrapPython.cpp while building with gcc 4.9 on Linux. "warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual]" Is it ok to add -Wno-cast-qual for this file in cmake for gcc. This option seems to be already present for autotool case. Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13719 llvm-svn: 250380
* [mips][microMIPS] Implement LLE and SCE instructionsHrvoje Varga2015-10-156-0/+47
| | | | | | Differential Revision: http://reviews.llvm.org/D11630 llvm-svn: 250379
* [ELF2] Set a target-specific VAStart for PPC64Hal Finkel2015-10-158-64/+75
| | | | | | | | | | | After some additional post-commit (post-revert) discussion and research, this reverts, in part, r250205, so the ABI-recommended starting address can be used on PPC64 (as is done by other linkers). Also, this addresses the FIXME in ELF/Writer.cpp by making VAStart a target-dependent property. llvm-svn: 250378
* [mips][microMIPS] Implement LWLE, LWRE, SWLE and SWRE instructionsHrvoje Varga2015-10-156-0/+47
| | | | | | Differential Revision: http://reviews.llvm.org/D11631 llvm-svn: 250377
* [RuntimeDyld] Drop the '.s' suffix off the COFF test case - the MIPS bot startedLang Hames2015-10-151-0/+0
| | | | | | | | | failing when the suffix was added. I assume the lack of a '.s' suffix means that the test case just wasn't running before, and it has never worked on MIPS. I'll investigate that tomorrow. llvm-svn: 250376
* Update for llvm API change.Eric Christopher2015-10-151-2/+1
| | | | llvm-svn: 250375
* Remove DIFile from createSubroutineType.Eric Christopher2015-10-155-11/+7
| | | | | | Patch by Amaury Sechet with a small modification by me. llvm-svn: 250374
* Update clang for DIBuilder::createSubroutineType API change.Eric Christopher2015-10-151-7/+6
| | | | | | Patch by Amaury Sechet! llvm-svn: 250373
* [ELF2/PPC64] Remove now-dead weak/undef checkHal Finkel2015-10-151-1/+1
| | | | | | After r250311, this check is dead. Remove it. llvm-svn: 250372
* [RuntimeDyld] Don't try to get the contents of sections that don't have anyLang Hames2015-10-152-8/+11
| | | | | | | | | | | (e.g. bss sections). MachO and ELF have been silently letting this pass, but COFFObjectFile contains an assertion to catch this kind of (ab)use of the getSectionContents, and this was causing the JIT to crash on COFF objects with BSS sections. This patch should fix that. llvm-svn: 250371
* [MachO] Stop generating *coal* sections.Akira Hatanaka2015-10-158-17/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recommit r250342: move coal-sections-powerpc.s to subdirectory for powerpc. Some background on why we don't have to use *coal* sections anymore: Long ago when C++ was new and "weak" had not been standardized, an attempt was made in cctools to support C++ inlines that can be coalesced by putting them into their own section (TEXT/textcoal_nt instead of TEXT/text). The current macho linker supports the weak-def bit on any symbol to allow it to be coalesced, but the compiler still puts weak-def functions/data into alternate section names, which the linker must map back to the base section name. This patch makes changes that are necessary to prevent the compiler from using the "coal" sections and have it use the non-coal sections instead when the target architecture is not powerpc: TEXT/textcoal_nt instead use TEXT/text TEXT/const_coal instead use TEXT/const DATA/datacoal_nt instead use DATA/data If the target is powerpc, we continue to use the *coal* sections since anyone targeting powerpc is probably using an old linker that doesn't have support for the weak-def bits. Also, have the assembler issue a warning if it encounters a *coal* section in the assembly file and inform the users to use the non-coal sections instead. rdar://problem/14265330 Differential Revision: http://reviews.llvm.org/D13188 llvm-svn: 250370
* [X86] Add proper feature names to xsave builtins.Craig Topper2015-10-151-12/+12
| | | | llvm-svn: 250369
* [X86] Add command line switches for xsave/xsaveopt/xsavec/xsaves. Macro ↵Craig Topper2015-10-155-4/+126
| | | | | | defines for the same. And add the flags to correct CPU names. llvm-svn: 250368
* Test commit.Hrvoje Varga2015-10-151-1/+0
| | | | llvm-svn: 250367
* Temporarily revert r250345 to sort out bot failure.Manman Ren2015-10-158-285/+5
| | | | | | | | | | | | | | With r250345 and r250343, we start to observe the following failure when bootstrap clang with lto and pgo: PHI node entries do not match predecessors! %.sroa.029.3.i = phi %"class.llvm::SDNode.13298"* [ null, %30953 ], [ null, %31017 ], [ null, %30998 ], [ null, %_ZN4llvm8dyn_castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERS5_.exit.i.1804 ], [ null, %30975 ], [ null, %30991 ], [ null, %_ZNK4llvm3EVT13getScalarTypeEv.exit.i.1812 ], [ %..sroa.029.0.i, %_ZN4llvm11SmallVectorIiLj8EED1Ev.exit.i.1826 ], !dbg !451895 label %30998 label %_ZNK4llvm3EVTeqES0_.exit19.thread.i LLVM ERROR: Broken function found, compilation aborted! I will re-commit this if the bot does not recover. llvm-svn: 250366
* builtins: Expand out floating point exponents for MSVCSaleem Abdulrasool2015-10-152-5/+5
| | | | | | | | | MSVC 2013 doesnt support C99 fully, including the hexidecimal floating point representation. Use the expanded value to permit building with it. Patch by Tee Hao Wei! llvm-svn: 250365
* In r240466, when Greg added the jThreadsInfo packet, he accidentallyJason Molenda2015-10-153-2/+80
| | | | | | | | | | | | | | disabled the use of the jThreadGetExtendedInfo packet which is used to retrieve additional information about a thread, such as the QoS setting for that thread on darwin systems. Re-enable the use of the jThreadGetExtendedInfo packet, and add some quick tests to the TestQueues mac test case which will verify that we can retrieve the QoS names for these test threads. <rdar://problem/22925096> llvm-svn: 250364
* Remove unnecessary braces in single-line 'if'.Douglas Katzman2015-10-151-2/+1
| | | | llvm-svn: 250363
* Add XSAVE/XSAVEOPT to KNL processor.Craig Topper2015-10-151-0/+2
| | | | llvm-svn: 250362
* Add links to libc++ code coverage and buildersEric Fiselier2015-10-151-2/+4
| | | | llvm-svn: 250361
* builtins: use C implementation on MSVCSaleem Abdulrasool2015-10-151-36/+49
| | | | | | | | | The assembly implementations use GNU syntax which MSVC doesn't handle. Rather than duplicate the code in a second syntax, use the C implementations. Patch by Tee Hao Wei! llvm-svn: 250360
* builtins: __builtin_clzll for x86 on MSVCSaleem Abdulrasool2015-10-151-2/+12
| | | | | | | | | Add an implementation for __builtin_clzll on MSVC even when _BitScanForward4 is unavailable. Patch by Tee Hao Wei! llvm-svn: 250359
* ELF2: Do not use OutputSection as a member variable name.Rui Ueyama2015-10-153-16/+14
| | | | | | We have OutputSection<ELFT> type. GCC 4.9.2 warns on the duplication. llvm-svn: 250358
* s/NumFiles/NumStreams/David Majnemer2015-10-151-1/+1
| | | | llvm-svn: 250357
* [llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDBDavid Majnemer2015-10-158-17/+330
| | | | | | | | | A PDB can be thought of as a very simple file system. It is occasionally illuminating to see the contents of the underlying files. Differential Revision: http://reviews.llvm.org/D13674 llvm-svn: 250356
* Fix -Wmismatched-tags error in modules build by removing unused forward ↵Richard Smith2015-10-151-1/+0
| | | | | | declaration. llvm-svn: 250355
* [bugpoint] llvm-gcc doesn't exist anymore ...Davide Italiano2015-10-151-8/+1
| | | | | | ... so this comment is stale. Remove it. Range-loopify while here. llvm-svn: 250354
* Fix the ability to quit and use a custom exception. Also print tree items ↵Greg Clayton2015-10-151-11/+49
| | | | | | out so they are more aligned. llvm-svn: 250353
* [ARM] Make sure we do not dereference the end iterator when accessing debugQuentin Colombet2015-10-152-2/+59
| | | | | | | | | | information. Although the problem was always here, it would only be exposed when shrink-wrapping is enable. rdar://problem/23110493 llvm-svn: 250352
* Revert r250349.Akira Hatanaka2015-10-157-197/+17
| | | | | | Test case coal-sections-powerpc.s is still failing on some buildbots. llvm-svn: 250351
* [JIT] TrivialMemoryManager: Fail if we can't allocate memory.Davide Italiano2015-10-151-2/+8
| | | | | | | | | | | | | TrivialMemoryManager currently doesn't check the return type of AllocateRWX -- and returns a 'null' MemoryBlock to its caller. As pointed out by Lang, this exposes some serious issues with the MemoryManager interface. There's, in fact, no way to report back an error to clients rather than aborting in case memory can't be allocated. Eventually the interface will grow to support this, but for now, fail sooner rather than later. Differential Revision: http://reviews.llvm.org/D13627 llvm-svn: 250350
* [MachO] Stop generating *coal* sections.Akira Hatanaka2015-10-147-17/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recommit r250342: add -arch=ppc32 to the RUN lines of powerpc tests. Some background on why we don't have to use *coal* sections anymore: Long ago when C++ was new and "weak" had not been standardized, an attempt was made in cctools to support C++ inlines that can be coalesced by putting them into their own section (TEXT/textcoal_nt instead of TEXT/text). The current macho linker supports the weak-def bit on any symbol to allow it to be coalesced, but the compiler still puts weak-def functions/data into alternate section names, which the linker must map back to the base section name. This patch makes changes that are necessary to prevent the compiler from using the "coal" sections and have it use the non-coal sections instead when the target architecture is not powerpc: TEXT/textcoal_nt instead use TEXT/text TEXT/const_coal instead use TEXT/const DATA/datacoal_nt instead use DATA/data If the target is powerpc, we continue to use the *coal* sections since anyone targeting powerpc is probably using an old linker that doesn't have support for the weak-def bits. Also, have the assembler issue a warning if it encounters a *coal* section in the assembly file and inform the users to use the non-coal sections instead. rdar://problem/14265330 Differential Revision: http://reviews.llvm.org/D13188 llvm-svn: 250349
* [X86] Use C+11 non-static data member initialization to initialize all the ↵Craig Topper2015-10-141-34/+30
| | | | | | | | X86 feature controls. NFC This simplifies the constructor initialization list and makes it less likely a feature flag will be forgotten there. llvm-svn: 250348
OpenPOWER on IntegriCloud