and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 16 Jul, 2015 11 commits
    • Hans Wennborg's avatar
      Merging r242412: · c7d77057
      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
      c7d77057
    • Hans Wennborg's avatar
      Merging r242410: · 38581964
      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
      38581964
    • Hans Wennborg's avatar
      Merging r242442: · d2209345
      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
      d2209345
    • Hans Wennborg's avatar
      Merging r242444: · 9613d173
      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
      9613d173
    • Hans Wennborg's avatar
      Merging r242424: · 52017d6f
      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
      52017d6f
    • Hans Wennborg's avatar
      Merging r242381: · fa04ada8
      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
      fa04ada8
    • Bill Schmidt's avatar
      Add some more PowerPC release notes · 90a7c4a7
      Bill Schmidt authored
      llvm-svn: 242408
      90a7c4a7
    • Bill Schmidt's avatar
      Add PowerPC release notes for 3.7 · f94bc6ba
      Bill Schmidt authored
      llvm-svn: 242407
      f94bc6ba
    • Hans Wennborg's avatar
      Merging r242350: · dc300914
      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
      dc300914
    • Hans Wennborg's avatar
      Merging r242341: · 684bfb61
      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
      684bfb61
    • Hans Wennborg's avatar
      Merging r242331: · 9daa08a5
      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
      9daa08a5
  2. 15 Jul, 2015 6 commits
    • Hans Wennborg's avatar
      Merging r242301: · dd7d769a
      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
      dd7d769a
    • Hans Wennborg's avatar
      Merging r242298: · 59f879ad
      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
      59f879ad
    • Hans Wennborg's avatar
      Merging r242293: · ebfe2a27
      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
      ebfe2a27
    • Hans Wennborg's avatar
      Merging r242306: · 64d8956c
      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
      64d8956c
    • Hans Wennborg's avatar
      Merging r242288: · 68d0864f
      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
      68d0864f
    • Hans Wennborg's avatar
      Merging r242239: · c4b6274d
      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
      c4b6274d
  3. 14 Jul, 2015 23 commits