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

  1. 07 Jun, 2013 1 commit
  2. 06 Jun, 2013 14 commits
  3. 04 Jun, 2013 11 commits
    • Akira Hatanaka's avatar
      Update release notes for mips. · 3aeb1b7a
      Akira Hatanaka authored
      llvm-svn: 183249
      3aeb1b7a
    • Bill Wendling's avatar
      Merging r183060: · 865130f3
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r183060 | atrick | 2013-05-31 16:34:46 -0700 (Fri, 31 May 2013) | 11 lines
      
      Prevent loop-unroll from making assumptions about undefined behavior.
      
      Fixes rdar:14036816, PR16130.
      
      There is an opportunity to compute precise trip counts for 'or'
      expressions and multi-exit loops.
      rdar:14038809: Optimize trip count computation for multi-exit loops.
      
      To do this we need to record the fact that ExitLimit assumes NSW. When
      it does not we can safely assume that the loop trip count is the
      minimum ExitLimt across all subexpressions and loop exits.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 183246
      865130f3
    • Bill Wendling's avatar
      Merging r182989: · 5359fd2c
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182989 | atrick | 2013-05-30 23:43:25 -0700 (Thu, 30 May 2013) | 13 lines
      
      Fix ScalarEvolution::ComputeExitLimitFromCond for 'or' conditions.
      
      Fixes PR16130 - clang produces incorrect code with loop/expression at -O2.
      
      This is a 2+ year old bug that's now holding up the release. It's a
      case where we knowingly made aggressive assumptions about undefined
      behavior. These assumptions are wrong when SCEV is computing a
      subexpression that does not directly control the branch. With this
      fix, we avoid making assumptions in those cases but still optimize the
      common case. SCEV's trip count computation for exits controlled by
      'or' expressions is now analagous to the trip count computation for
      loops with multiple exits. I had already fixed the multiple exit case
      to be conservative.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 183245
      5359fd2c
    • Bill Wendling's avatar
      Remove bit not added to 3.3. · 52b5f081
      Bill Wendling authored
      llvm-svn: 183212
      52b5f081
    • Bill Wendling's avatar
      Update release notes for the 3.3 release. · 258567c4
      Bill Wendling authored
      llvm-svn: 183208
      258567c4
    • Bill Wendling's avatar
      Update the release notes for the 3.3 release. · 3cd04e0f
      Bill Wendling authored
      llvm-svn: 183207
      3cd04e0f
    • Bill Wendling's avatar
      Merging r183153: · 156dd006
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r183153 | dmalea | 2013-06-03 13:45:54 -0700 (Mon, 03 Jun 2013) | 7 lines
      
      Fix crash (in optimized builds) due to invalid metadata operand
      - ConstantDataArray is not a valid MDNode operand
      - encode function-name strings in metadata by wrapping in an MDString instead
      
      - should resolve reported by http://llvm-jenkins.debian.net/job/llvm-toolchain-quantal-binaries/architecture=amd64,distribution=quantal/173/
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 183191
      156dd006
    • Bill Wendling's avatar
      Merging r181909: · c89859f4
      Bill Wendling authored
      ------------------------------------------------------------------------
      
      llvm-svn: 183190
      c89859f4
    • Bill Wendling's avatar
      Merging r183035: · a28e1368
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r183035 | arnolds | 2013-05-31 12:53:50 -0700 (Fri, 31 May 2013) | 7 lines
      
      LoopVectorize: PHIs with only outside users should prevent vectorization
      
      We check that instructions in the loop don't have outside users (except if
      they are reduction values). Unfortunately, we skipped this check for
      if-convertable PHIs.
      
      Fixes PR16184.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 183189
      a28e1368
    • Bill Wendling's avatar
      Merging r183108: · 021ffcf5
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r183108 | vljn | 2013-06-03 08:44:42 -0700 (Mon, 03 Jun 2013) | 1 line
      
      R600: CALL_FS consumes a stack size entry
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 183181
      021ffcf5
    • Bill Wendling's avatar
      Merge r182726: · 55865eec
      Bill Wendling authored
      Improve support for compiler-rt tests in CMake build.
      
      Now compiler-rt tests run correctly if compiler-rt is checked out into
      arbitrary directory (not necessarily projects/compiler-rt).
      Patch by Greg Fitzgerald!
      
      llvm-svn: 183180
      55865eec
  4. 01 Jun, 2013 1 commit
  5. 31 May, 2013 1 commit
    • Andrew Trick's avatar
      Merging 182989: Fix ScalarEvolution::ComputeExitLimitFromCond for 'or' conditions. · 0df3a18d
      Andrew Trick authored
          Fixes PR16130 - clang produces incorrect code with loop/expression at -O2.
      
          This is a 2+ year old bug that's now holding up the release. It's a
          case where we knowingly made aggressive assumptions about undefined
          behavior. These assumptions are wrong when SCEV is computing a
          subexpression that does not directly control the branch. With this
          fix, we avoid making assumptions in those cases but still optimize the
          common case. SCEV's trip count computation for exits controlled by
          'or' expressions is now analagous to the trip count computation for
          loops with multiple exits. I had already fixed the multiple exit case
          to be conservative.
      
          git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182989 91177308-0d34-0410-b5e6-96231b3b80d8
      
      llvm-svn: 183013
      0df3a18d
  6. 30 May, 2013 1 commit
    • Bill Wendling's avatar
      Merging r182645: · 65ac319b
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182645 | eugenis | 2013-05-24 07:28:03 -0700 (Fri, 24 May 2013) | 6 lines
      
      Add -lrt to sanitizer link arguments.
      
      Sanitizer runtime intercepts functions from librt. Not doing this will fail
      if the librt dependency is not present at program startup (ex. comes from a
      dlopen()ed library).
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182944
      65ac319b
  7. 29 May, 2013 6 commits
    • Bill Wendling's avatar
      Merging r182585: · 1e3c34de
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182585 | aaronballman | 2013-05-23 07:55:00 -0700 (Thu, 23 May 2013) | 1 line
      
      Setting the default value (fixes CRT assertions about uninitialized variable use when doing debug MSVC builds), and fixing coding style.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182830
      1e3c34de
    • Bill Wendling's avatar
      Merging r182394: · 969c3b95
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182394 | jholewinski | 2013-05-21 09:51:30 -0700 (Tue, 21 May 2013) | 1 line
      
      [NVPTX] Add @llvm.nvvm.sqrt.f() intrinsic
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182829
      969c3b95
    • Bill Wendling's avatar
      Merging r182298: · 44901008
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182298 | jholewinski | 2013-05-20 09:42:18 -0700 (Mon, 20 May 2013) | 1 line
      
      [NVPTX] Fix mis-use of CurrentFnSym in NVPTXAsmPrinter.  This was causing a symbol name error in the output PTX.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182828
      44901008
    • Bill Wendling's avatar
      Merging r182297: · 57aa7f7e
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182297 | jholewinski | 2013-05-20 09:42:16 -0700 (Mon, 20 May 2013) | 1 line
      
      [NVPTX] Add programmatic interface to NVVMReflect pass
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182827
      57aa7f7e
    • Bill Wendling's avatar
      Merging r182254: · b0bb2e99
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182254 | jholewinski | 2013-05-20 05:13:32 -0700 (Mon, 20 May 2013) | 12 lines
      
      [NVPTX] Add GenericToNVVM IR converter to better handle idiomatic LLVM IR inputs
      
      This converter currently only handles global variables in address space 0. For
      these variables, they are promoted to address space 1 (global memory), and all
      uses are updated to point to the result of a cvta.global instruction on the new
      variable.
      
      The motivation for this is address space 0 global variables are illegal since we
      cannot declare variables in the generic address space.  Instead, we place the
      variables in address space 1 and explicitly convert the pointer to address
      space 0. This is primarily intended to help new users who expect to be able to
      place global variables in the default address space.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182826
      b0bb2e99
    • Bill Wendling's avatar
      Merging r182253: · 55ebf7b0
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182253 | jholewinski | 2013-05-20 05:13:28 -0700 (Mon, 20 May 2013) | 1 line
      
      [NVPTX] Fix i1 kernel parameters and global variables.  ABI rules say we need to use .u8 for i1 parameters for kernels.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182825
      55ebf7b0
  8. 28 May, 2013 1 commit
    • Bill Wendling's avatar
      Merging r182656: · 487e8e6b
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182656 | d0k | 2013-05-24 11:05:35 -0700 (Fri, 24 May 2013) | 3 lines
      
      LoopVectorize: LoopSimplify can't canonicalize loops with an indirectbr in it, don't assert on those cases.
      
      Fixes PR16139.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182785
      487e8e6b
  9. 22 May, 2013 4 commits
    • Bill Wendling's avatar
      Reverting these patches. They were causing regressions. :-( · ce59b557
      Bill Wendling authored
      --- Reverse-merging r182522 into '.':
      U    source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
       U   .
      --- Reverse-merging r182521 into '.':
      U    source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
       G   .
      --- Reverse-merging r182520 into '.':
      U    source/Core/ValueObjectVariable.cpp
       G   .
      --- Reverse-merging r182519 into '.':
      U    source/Symbol/Variable.cpp
       G   .
      --- Reverse-merging r182518 into '.':
      U    source/Plugins/Process/Linux/ProcessMonitor.cpp
      U    source/Plugins/Process/Linux/ProcessLinux.h
       G   .
      --- Reverse-merging r182517 into '.':
      G    source/Plugins/Process/Linux/ProcessMonitor.cpp
       G   .
      --- Reverse-merging r182516 into '.':
      U    source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
      U    source/Expression/DWARFExpression.cpp
      U    source/Expression/Materializer.cpp
      U    source/Expression/ClangExpressionDeclMap.cpp
       G   .
      
      llvm-svn: 182525
      ce59b557
    • Bill Wendling's avatar
      Merging r182441: · 04df32da
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182441 | gclayton | 2013-05-21 17:10:28 -0700 (Tue, 21 May 2013) | 5 lines
      
      <rdar://problem/13455021>
      
      Another fix to make sure that if we aren't able to extract an object file for any reason, we don't crash when trying to parse the debug map info.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182522
      04df32da
    • Bill Wendling's avatar
      Merging r182437: · 443d96c7
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182437 | gclayton | 2013-05-21 16:36:34 -0700 (Tue, 21 May 2013) | 5 lines
      
      <rdar://problem/13455021>
      
      lldb crashes with universal file containing skinny BSD archives when doing DWARF with .o file debugging.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182521
      443d96c7
    • Bill Wendling's avatar
      Merging r182326: · fd633af7
      Bill Wendling authored
      ```---------------------------------------------------------------------
      r182326 | enrico | 2013-05-20 15:49:13 -0700 (Mon, 20 May 2013) | 3 lines
      
      <rdar://problem/13925626>
      
      Replacing an assertion with an error - at least we won’t crash
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 182520
      fd633af7