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

  1. 20 Aug, 2015 9 commits
    • Hans Wennborg's avatar
      Reverting r245456: · dfa1eedb
      Hans Wennborg authored
      ------------------------------------------------------------------------
      
      llvm-svn: 245623
      dfa1eedb
    • Hans Wennborg's avatar
      Merging r245560: · db110b98
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245560 | ogoffart | 2015-08-20 06:11:14 -0700 (Thu, 20 Aug 2015) | 5 lines
      
      Fix crash with two typos in the arguments of a function
      
      The problem is that the arguments are of TheCall are reset later
      to the ones in Args, making TypoExpr put back. Some TypoExpr that have
      already  been diagnosed and will assert later in Sema::getTypoExprState
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245615
      db110b98
    • Renato Golin's avatar
      Merge r245577 into branch_37 · a0e728bc
      Renato Golin authored
      [ARM] Don't try and custom lower a vNi64 SETCC.
      
      It won't go well. We've already marked 64-bit SETCCs as non-Custom, but it's
      just possible that a SETCC has a legal result type but an illegal operand
      type. If this happens, bail out before we create unselectable nodes.
      
      Fixes PR24292. I tried to create a testcase but in 99% of cases we can't
      trigger this - not surprising that this bug has been latent since 2009.
      
      llvm-svn: 245578
      a0e728bc
    • Hans Wennborg's avatar
      Merging r245535: · 8b1fc860
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245535 | hfinkel | 2015-08-19 20:02:02 -0700 (Wed, 19 Aug 2015) | 6 lines
      
      [PowerPC] Fix value type on XVCMPEQDP for v2f64 comparisons
      
      XVCMPEQDP is used for VSX v2f64 equality comparisons, but the value type needs
      to be v2i64 (as that's the corresponding SETCC type).
      
      Fixes PR24225.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245574
      8b1fc860
    • Hans Wennborg's avatar
      Merging r245530: · 3eff3d8c
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245530 | hfinkel | 2015-08-19 18:18:20 -0700 (Wed, 19 Aug 2015) | 5 lines
      
      [PowerPC] Fix the int2fp(fp2int(x)) DAGCombine to ignore ppc_fp128
      
      This DAGCombine was creating custom SDAG nodes with an illegal ppc_fp128
      operand type because it was triggering on f64/f32 int2fp(fp2int(ppc_fp128 x)),
      but shouldn't (it should only apply to f32/f64 types). The result was a crash.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245573
      3eff3d8c
    • Hans Wennborg's avatar
      Merging r245365 and r245369: · bcbf19f9
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245365 | majnemer | 2015-08-18 15:07:25 -0700 (Tue, 18 Aug 2015) | 4 lines
      
      [InstSimplify] Don't assume getAggregateElement will succeed
      
      It isn't always possible to get a value from getAggregateElement.
      This fixes PR24488.
      ```
      
      ---------------------------------------------------------------------
      
      ------------------------------------------------------------------------
      r245369 | majnemer | 2015-08-18 15:18:22 -0700 (Tue, 18 Aug 2015) | 3 lines
      
      [InstSimplify] Remove unused variable
      
      No functionality change is intended.
      ------------------------------------------------------------------------
      
      llvm-svn: 245572
      bcbf19f9
    • Renato Golin's avatar
      Reapply "[SimplifyCFG] Be more aggressive" on branch_37 · 69272ee8
      Renato Golin authored
      I have underestimated the importance of this patch, and
      James has got a fix for it in the making. Sorry for the noise.
      
      llvm-svn: 245570
      69272ee8
    • Renato Golin's avatar
      Revert "[SimplifyCFG] Be more aggressive" on branch_37 · a7653a76
      Renato Golin authored
      This reverts commit r229099 in branch 37 only, because it caused PR24292.
      I'll continue investigating and will fix on trunk, but being an optimization
      change, we can let the rest of the release go without this one.
      
      llvm-svn: 245568
      a7653a76
    • David Blaikie's avatar
      Add release notes for the typeless pointer work. · 7d99e7cb
      David Blaikie authored
      llvm-svn: 245534
      7d99e7cb
  2. 19 Aug, 2015 5 commits
    • Hans Wennborg's avatar
      Merging r245395: · 121643dc
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245395 | qcolombet | 2015-08-18 17:08:26 -0700 (Tue, 18 Aug 2015) | 3 lines
      
      [BasicAA] Add a test for PR24468 to be sure we won't regress
      when we finally get the GEP aliasing right.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245478
      121643dc
    • Hans Wennborg's avatar
      Merging r245394: · 0d824c98
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245394 | qcolombet | 2015-08-18 17:07:20 -0700 (Tue, 18 Aug 2015) | 3 lines
      
      [BasicAA] Revert r221876 because it can produce incorrect aliasing
      information: see PR24468.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245476
      0d824c98
    • Hans Wennborg's avatar
      Merging r244448: · 5e1b9055
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r244448 | fcormack | 2015-08-10 07:48:47 -0700 (Mon, 10 Aug 2015) | 12 lines
      
      Prevent the scalarizer from caching incorrect entries
      
      The scalarizer can cache incorrect entries when walking up a chain of
      insertelement instructions. This occurs when it encounters more than one
      instruction that it is not actively searching for, as it unconditionally caches
      every element it finds. The fix is to only cache the first element that it
      isn't searching for so we don't overwrite correct entries.
      
      Reviewers: hfinkel
      
      Differential Revision: http://reviews.llvm.org/D11559
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245457
      5e1b9055
    • Hans Wennborg's avatar
      Merging r245084: · 55418e10
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245084 | martell | 2015-08-14 12:05:56 -0700 (Fri, 14 Aug 2015) | 13 lines
      
      WindowsX86: long double is x87DoubleExtended on mingw
      
          Summary:
          long double on x86 mingw is 80bits and is aligned to 16bytes
      
      	Fixes:
          https://llvm.org/bugs/show_bug.cgi?id=24398
      
          Reviewers: rnk
      
          Subscribers: cfe-commits
      
          Differential Revision: http://reviews.llvm.org/D12037
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245456
      55418e10
    • Hans Wennborg's avatar
      Merging r244902: · f57c9138
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r244902 | martell | 2015-08-13 08:41:04 -0700 (Thu, 13 Aug 2015) | 12 lines
      
      Driver: Fix include directories when not using libgcc under mingw
      
      Summary:
      When we want to use mingw-w64 and clang with compiler-rt we should not
      need to have libgcc installed. This fixes finding includes when libgcc
      is not installed
      
      Reviewers: yaron.keren
      
      Subscribers: cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D11808
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245393
      f57c9138
  3. 18 Aug, 2015 10 commits
  4. 17 Aug, 2015 10 commits
    • Duncan P. N. Exon Smith's avatar
      3.7 release note: debug info IR · c45387d1
      Duncan P. N. Exon Smith authored
      llvm-svn: 245248
      c45387d1
    • Hans Wennborg's avatar
      ReleaseNotes: System/Z -> SystemZ · a453f322
      Hans Wennborg authored
      llvm-svn: 245243
      a453f322
    • Hans Wennborg's avatar
      ReleaseNotes: System/Z -> SystemZ · 20ea145d
      Hans Wennborg authored
      llvm-svn: 245242
      20ea145d
    • Hans Wennborg's avatar
      ReleaseNotes: LLVMSharp and ClangSharp (copied from 3.6 notes) · b47107ac
      Hans Wennborg authored
      llvm-svn: 245241
      b47107ac
    • Hans Wennborg's avatar
      Merging r245217: · ee14d153
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245217 | slthakur | 2015-08-17 06:40:17 -0700 (Mon, 17 Aug 2015) | 13 lines
      
      [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support
      
      This patch :
      
      - Fixes offsets of all register sets for Mips.
      - Adds MSA register set and FRE=1 mode support for FP register set.
      - Separates lldb register numbers and register infos of freebsd/mips64 from linux/mips64.
      - Re-orders the register numbers of all kinds for mips to be consistent with freebsd order of register numbers.
      
      Reviewers: jaydeep, clayborg, jasonmolenda, ovyalov, emaste
      Subscribers: tberghammer, ovyalov, emaste, mohit.bhakkad, nitesh.jain, bhushan
      Differential: http://reviews.llvm.org/D10919
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245240
      ee14d153
    • Hans Wennborg's avatar
      Merging r245064: · db4a68b5
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245064 | cbieneman | 2015-08-14 09:20:31 -0700 (Fri, 14 Aug 2015) | 5 lines
      
      [CMake] Fix PR14200, llvm-config output misses -fno-rtti
      
      This change adds RTTI and Exception flags to llvm-config's cxxflags. This solution is a minimal patch to solve the issue, and is recommended for the 3.7 release branch. Tom Stellard's outstanding work is the longer term solution.
      
      Patch By: David Wiberg
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245235
      db4a68b5
    • Hans Wennborg's avatar
      Fix the issue addressed in r243996: avoid calling std::equals on nullptr · 86e72b1d
      Hans Wennborg authored
      because MSVC's STL implementation can trip a debug assert on that.
      
      There is still a discussion ongoing about r243996, so let's just apply
      a minimal fix for 3.7.
      
      llvm-svn: 245233
      86e72b1d
    • Hans Wennborg's avatar
      Merging r245041: · a051e967
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r245041 | abataev | 2015-08-14 05:25:37 -0700 (Fri, 14 Aug 2015) | 4 lines
      
      [OPENMP] Fix for http://llvm.org/PR24371: Assert failure compiling blender 2.75.
      blender uses statements expression in condition of the loop under control of the '#pragma omp parallel for'. This condition is used several times in different expressions required for codegen of the loop directive. If there are some variables defined in statement expression, it fires an assert during codegen because of redefinition of the same variables.
      We have to rebuild several expression to be sure that all variables are unique.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245229
      a051e967
    • Tom Stellard's avatar
      Merging r245087: · 87ed4a21
      Tom Stellard authored
      ```---------------------------------------------------------------------
      r245087 | thomas.stellard | 2015-08-14 15:46:05 -0400 (Fri, 14 Aug 2015) | 6 lines
      
      AMDGPU/SI: Add missing spill class
      
      The compiler was failing to spill for some shaders.
      
      Patch By: Axel Davy
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245219
      87ed4a21
    • Hal Finkel's avatar
      Add some words about PPC QPX support to the release notes · 412318bd
      Hal Finkel authored
      llvm-svn: 245202
      412318bd
  5. 16 Aug, 2015 2 commits
  6. 15 Aug, 2015 1 commit
    • Hans Wennborg's avatar
      Merging r244502: · ba7a11e0
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r244502 | chh | 2015-08-10 13:58:54 -0700 (Mon, 10 Aug 2015) | 8 lines
      
      Fix test case to work with -Asserts builds.
      
      When clang is built with -DLLVM_ENABLE_ASSERTIONS=Off,
      it does not create names for IR values.
      
      Differential Revision: http://reviews.llvm.org/D11437
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245143
      ba7a11e0
  7. 14 Aug, 2015 3 commits
    • Hans Wennborg's avatar
      Merging r244193: · e8fe08f1
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r244193 | alexdenisov | 2015-08-05 21:51:14 -0700 (Wed, 05 Aug 2015) | 3 lines
      
      [ObjC] Circular containers: add support of subclasses
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245116
      e8fe08f1
    • Hans Wennborg's avatar
      Merging r244101: · 0625eca7
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r244101 | samsonov | 2015-08-05 12:35:46 -0700 (Wed, 05 Aug 2015) | 6 lines
      
      [UBSan] Fix UBSan-vptr false positive.
      
      Offset from vptr to the start of most-derived object can actually
      be positive in some virtual base class vtables.
      
      Patch by Stephan Bergmann!
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 245114
      0625eca7
    • Daniel Sanders's avatar