- Oct 15, 2015
-
-
Michael Kruse authored
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
-
Peter Collingbourne authored
llvm-svn: 250388
-
Andrea Di Biagio authored
llvm-svn: 250387
-
Benjamin Kramer authored
llvm-svn: 250386
-
Benjamin Kramer authored
llvm-svn: 250385
-
Artyom Skrobov authored
Reviewers: arsenm, jvesely, tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13734 llvm-svn: 250384
-
David Majnemer authored
<windows.h> defines macros named min and max in conflict with <algorithm>. Prevent macro expansion by wrapping std::min in parenthesis. llvm-svn: 250383
-
Zlatko Buljan authored
[mips][microMIPS] Implement DPA.W.PH, DPAQ_S.W.PH, DPAQ_SA.L.W, 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
-
Hrvoje Varga authored
Differential Revision: http://reviews.llvm.org/D11292#inline-103143 llvm-svn: 250381
-
Hafiz Abid Qadeer authored
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
-
Hrvoje Varga authored
Differential Revision: http://reviews.llvm.org/D11630 llvm-svn: 250379
-
Hal Finkel authored
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
-
Hrvoje Varga authored
Differential Revision: http://reviews.llvm.org/D11631 llvm-svn: 250377
-
Lang Hames authored
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
-
Eric Christopher authored
llvm-svn: 250375
-
Eric Christopher authored
Patch by Amaury Sechet with a small modification by me. llvm-svn: 250374
-
Eric Christopher authored
Patch by Amaury Sechet! llvm-svn: 250373
-
Hal Finkel authored
After r250311, this check is dead. Remove it. llvm-svn: 250372
-
Lang Hames authored
(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
-
Akira Hatanaka authored
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
-
Craig Topper authored
llvm-svn: 250369
-
Craig Topper authored
[X86] Add command line switches for xsave/xsaveopt/xsavec/xsaves. Macro defines for the same. And add the flags to correct CPU names. llvm-svn: 250368
-
Hrvoje Varga authored
llvm-svn: 250367
-
Manman Ren authored
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
-
Saleem Abdulrasool authored
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
-
Jason Molenda authored
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
-
Douglas Katzman authored
llvm-svn: 250363
-
Craig Topper authored
llvm-svn: 250362
-
Eric Fiselier authored
llvm-svn: 250361
-
Saleem Abdulrasool authored
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
-
Saleem Abdulrasool authored
Add an implementation for __builtin_clzll on MSVC even when _BitScanForward4 is unavailable. Patch by Tee Hao Wei! llvm-svn: 250359
-
Rui Ueyama authored
We have OutputSection<ELFT> type. GCC 4.9.2 warns on the duplication. llvm-svn: 250358
-
David Majnemer authored
llvm-svn: 250357
-
David Majnemer authored
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
-
Richard Smith authored
llvm-svn: 250355
-
Davide Italiano authored
... so this comment is stale. Remove it. Range-loopify while here. llvm-svn: 250354
-
Greg Clayton authored
Fix the ability to quit and use a custom exception. Also print tree items out so they are more aligned. llvm-svn: 250353
-
Quentin Colombet authored
information. Although the problem was always here, it would only be exposed when shrink-wrapping is enable. rdar://problem/23110493 llvm-svn: 250352
-
Akira Hatanaka authored
Test case coal-sections-powerpc.s is still failing on some buildbots. llvm-svn: 250351
-
Davide Italiano authored
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
-