- 16 Jul, 2015 11 commits
-
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242412 | tstellar | 2015-07-16 09:13:34 -0700 (Thu, 16 Jul 2015) | 3 lines AMDGPU/R600: Remove unused variable This fixes a warning introduced by r242410. ``` --------------------------------------------------------------------- llvm-svn: 242455
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242410 | tstellar | 2015-07-16 08:38:29 -0700 (Thu, 16 Jul 2015) | 13 lines AMDPGU/R600: Replace llvm_unreachable() call with LLVMContext::emitError() Summary: This fixes an issue on MIPS where the infinite-loop-evergreen.ll test was failing to terminate. Fixes PR24147. Reviewers: arsenm, dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11260 ``` --------------------------------------------------------------------- llvm-svn: 242453
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242442 | wschmidt | 2015-07-16 14:14:07 -0700 (Thu, 16 Jul 2015) | 14 lines [PowerPC] v4i32 is a VSRCRegClass I was looking at some vector code generation and kept seeing unnecessary vector copies into the Altivec half of the VSX registers. I discovered that we overlooked v4i32 when adding the register classes for VSX; we only added v4f32 and v2f64. This means that anything that canonicalizes into v4i32 (which is a LOT of stuff) ends up being forced into VRRC on its way to VSRC. The fix is one line. The rest of the patch is fixing up some test cases whose code generation has changed as a result. This seems like it would be a good candidate for backport to 3.7. ``` --------------------------------------------------------------------- llvm-svn: 242447
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242444 | samsonov | 2015-07-16 14:20:05 -0700 (Thu, 16 Jul 2015) | 3 lines [CMake] One more attempt to fix PR24144. This time, exclude ExternalProject from build using set_target_properties. ``` --------------------------------------------------------------------- llvm-svn: 242445
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242424 | samsonov | 2015-07-16 10:53:01 -0700 (Thu, 16 Jul 2015) | 11 lines [CMake] Workaround for PR24144: avoid installing libcxx_tsan and libcxx_msan by default "ninja install" command. Summary: Exclude external libc++ builds from "all" target, so that they are only build on demand, and are not installed together with LLVM/Clang. Reviewers: hans Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11252 ``` --------------------------------------------------------------------- llvm-svn: 242425
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242381 | jaydeep | 2015-07-15 20:51:55 -0700 (Wed, 15 Jul 2015) | 10 lines [LLDB][MIPS] Detect MIPS application specific extensions like micromips SUMMARY: The patch detects MIPS application specific extensions (ASE) like micromips by reading ELF header.e_flags and SHT_MIPS_ABIFLAGS section. MIPS triple does not contain ASE information like micromips, mips16, DSP, MSA etc. These can be read from header.e_flags or SHT_MIPS_ABIFLAGS section. Reviewers: clayborg Subscribers: mohit.bhakkad, sagar, lldb-commits Differential Revision: http://reviews.llvm.org/D11133 ``` --------------------------------------------------------------------- llvm-svn: 242411 -
Bill Schmidt authored
llvm-svn: 242408
-
Bill Schmidt authored
llvm-svn: 242407
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242350 | samsonov | 2015-07-15 15:50:39 -0700 (Wed, 15 Jul 2015) | 1 line [probile] Fix memory leak introduced in r241824. ``` --------------------------------------------------------------------- llvm-svn: 242405
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242341 | hans | 2015-07-15 15:18:25 -0700 (Wed, 15 Jul 2015) | 7 lines test-release.sh: Run both .o files through sed before comparing them On some systems (e.g. Mac OS X), sed will add a newline to the end of the output if there wasn't one already. This would cause false cmp errors since the .o file from Phase 2 was passed through sed and the one from Phase 3 wasn't. Work around this by passing both through sed. ``` --------------------------------------------------------------------- llvm-svn: 242361
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242331 | hans | 2015-07-15 14:06:16 -0700 (Wed, 15 Jul 2015) | 17 lines Switch the release script to build with CMake by default (PR21561) It retains the possibility to use the autoconf build with a command-line option ('-use-autoconf'), and uses that by default on Darwin since compiler-rt requires it on that platform. This commit also removes the "Release-64" flavour and related logic. The script would previously do two builds unless the '-no-64bit' flag was passed, but on my machine and from those I asked this always ended up producing two 64-bit builds, causing much confusion. It also removes the -build-triple option, which caused the --build= flag to get passed to ./configure. This was presumably intended for cross-compiling, but none of the release testers use it. If someone does want to pass it, they can use '-configure-flags --build=foo' instead. Differential Revision: http://reviews.llvm.org/D10715 ``` --------------------------------------------------------------------- llvm-svn: 242360
-
- 15 Jul, 2015 6 commits
-
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242301 | jlpeyton | 2015-07-15 09:57:19 -0700 (Wed, 15 Jul 2015) | 9 lines Re-indent the CMake refactor to two-space indention I apologize for this nasty commit, but I somehow overlooked Chandler's comment to re-indent these files to two space indention. I know this is a horrible commit, but I figured if it was done quickly after the first one, not too many conflicts would arise. Again, I'm sorry and won't do this again. ``` --------------------------------------------------------------------- llvm-svn: 242336
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242298 | jlpeyton | 2015-07-15 09:05:30 -0700 (Wed, 15 Jul 2015) | 39 lines Large Refactor of CMake build system This commit improves numerous functionalities of the OpenMP CMake build system to be more conducive with LLVM's build system and build philosophies. The CMake build system, as it was before this commit, was not up to LLVM's standards and did not implement the configuration stage like most CMake based build systems offer (check for compiler flags, libraries, etc.) In order to improve it dramatically in a short period of time, a large refactoring had to be done. The main changes done with this commit are as follows: * Compiler flag checks - The flags are no longer grabbed from compiler specific directories. They are checked for availability in config-ix.cmake and added accordingly inside LibompHandleFlags.cmake. * Feature checks were added in config-ix.cmake. For example, the standard CMake module FindThreads is probed for the threading model to use inside the OpenMP library. * OS detection - There is no longer a LIBOMP_OS variable, OS-specifc build logic is wrapped around the WIN32 and APPLE macros with !(WIN32 OR APPLE) meaning a Unix flavor of some sort. * Got rid of vestigial functions/macros/variables * Added new libomp_append() function which is used everywhere to conditionally or undconditionally append to a list * All targets have the libomp prefix so as not to interfere with any other project * LibompCheckLinkerFlag.cmake module was added which checks for linker flags specifically for building shared libraries. * LibompCheckFortranFlag.cmake module was added which checks for fortran flag availability. * Removed most of the cruft from the translation between the perl+Makefile based build system and this one. The remaining components that they share are perl scripts which I'm in the process of removing. There is still more left to do. The perl scripts still need to be removed, and a config.h.in file (or similarly named) needs to be added with #cmakedefine lines in it. But this is a much better first step than the previous system. Differential Revision: http://reviews.llvm.org/D10656 ``` --------------------------------------------------------------------- llvm-svn: 242335
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242293 | rafael | 2015-07-15 07:48:06 -0700 (Wed, 15 Jul 2015) | 3 lines Set comdat when an available_externally thunk is converted to linkonce_odr. Fixes pr24130. ``` --------------------------------------------------------------------- llvm-svn: 242333
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242306 | dperchik | 2015-07-15 10:25:01 -0700 (Wed, 15 Jul 2015) | 10 lines Fix -data-info-line when source includes column number. This fixes an off-by-one bug in CMICmdCmdDataInfoLine::Acknowledge. Given: LineEntry: \[0x0000000100000f37-0x0000000100000f45\): /path/to/file:123:1 -data-info-line would report the line as 12, omitting the last digit. Reviewed by: ki.stfu, abidh Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11209 ``` --------------------------------------------------------------------- llvm-svn: 242328 -
Hans Wennborg authored
```--------------------------------------------------------------------- r242288 | d0k | 2015-07-15 05:56:19 -0700 (Wed, 15 Jul 2015) | 3 lines [PPC] Disassemble little endian ppc instructions in the right byte order PR24122. The test is simply a byte swapped version of ppc64-encoding.txt. ``` --------------------------------------------------------------------- llvm-svn: 242327
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242239 | hfinkel | 2015-07-14 15:53:11 -0700 (Tue, 14 Jul 2015) | 4 lines [PowerPC] Support symbolic targets in patchpoints Follow-up r235483, with the corresponding support in PPC. We use a regular call for symbolic targets (because they're much cheaper than indirect calls). ``` --------------------------------------------------------------------- llvm-svn: 242325
-
- 14 Jul, 2015 23 commits
-
-
Hans Wennborg authored
```--------------------------------------------------------------------- r242244 | hans | 2015-07-14 16:21:53 -0700 (Tue, 14 Jul 2015) | 1 line Update cxx_dr_status.html after 3.7 branch ``` --------------------------------------------------------------------- llvm-svn: 242252
-
Hans Wennborg authored
llvm-svn: 242251
-
Hans Wennborg authored
llvm-svn: 242234 llvm-svn: 242233 llvm-svn: 242232 llvm-svn: 242231 llvm-svn: 242230 llvm-svn: 242229 llvm-svn: 242228 llvm-svn: 242227 llvm-svn: 242225 llvm-svn: 242224
-
NAKAMURA Takumi authored
llvm-svn: 242221
-
Adam Nemet authored
The goal is to start hiding internal APIs. llvm-svn: 242220
-
Adam Nemet authored
Turn this structure-of-arrays (i.e. the various pointer attributes) into array-of-structures. llvm-svn: 242219
-
Adam Nemet authored
I am planning to add more nested classes inside RuntimePointerCheck so all these triple-nesting would be hard to follow. Also rename it to RuntimePointerChecking (i.e. append 'ing'). llvm-svn: 242218
-
Hal Finkel authored
We used to take the address specified as the direct target of the patchpoint and did no TOC-pointer handling. This, however, as not all that useful, because MCJIT tends to create a lot of modules, and they have their own TOC sections. Thus, to call from the generated code to other generated code, you really need to switch TOC pointers. Make this work as expected, and under ELFv1, tread the address as the function descriptor address so that the correct TOC pointer can be loaded. llvm-svn: 242217
-
Rafael Espindola authored
llvm-svn: 242216
-
Rafael Espindola authored
For now the Archive owns the buffers of the thin archive members. This makes for a simple API, but all the buffers are destructed only when the archive is destructed. This should be fine since we close the files after mmap so we should not hit an open file limit. llvm-svn: 242215
-
Dawn Perchik authored
llvm-svn: 242214
-
Lang Hames authored
Patch by Pierre-Andre Saulais. Thanks Pierre-Andre! llvm-svn: 242213
-
Pete Cooper authored
SelectionDAG already had begin/end methods for iterating over all the nodes, but didn't define an iterator_range for us in foreach loops. This adds such a method and uses it in some of the eligible places throughout the backends. llvm-svn: 242212
-
Pete Cooper authored
There was a 32-bit padding gap between 'unsigned short NumOperands, NumValues;' and 'DebugLoc debugLoc. Move 'unsigned IROrder' in to that gap. This trims the size of SDNode's from 76 bytes (really 80 due to alignment) to 72 bytes. llvm-svn: 242211
-
Pete Cooper authored
llvm-svn: 242210
-
Pete Cooper authored
The simplify_type specialisation allows us to cast directly from SDValue to an SDNode* subclass so we don't need to pass a SDNode* to cast<>. llvm-svn: 242209
-
Pete Cooper authored
llvm-svn: 242208
-
Rafael Espindola authored
I am adding support for thin archives. On those, getting the buffer involves reading another file. Since we only need an id in here, use the member offset in the archive. llvm-svn: 242205
-
Alex Lorenz authored
llvm-svn: 242204
-
Alex Lorenz authored
This commit moves the function 'printReg' towards the start of the file so that it can be used by the conversion methods in MIRPrinter and not just the printing methods in MIPrinter. llvm-svn: 242203
-
Tim Northover authored
llvm-svn: 242202
-
JF Bastien authored
Summary: This patch has the most basic instruction codegen for 32 and 64 bit int/fp. Reviewers: sunfish Subscribers: llvm-commits, jfb Differential Revision: http://reviews.llvm.org/D11193 llvm-svn: 242201
-
Krzysztof Parzyszek authored
llvm-svn: 242200
-