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

  1. 24 Aug, 2016 1 commit
    • Hans Wennborg's avatar
      Merging r279647: · ce25e1a7
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279647 | sanjoy | 2016-08-24 11:10:21 -0700 (Wed, 24 Aug 2016) | 5 lines
      
      [SCCP] Don't delete side-effecting instructions
      
      I'm not sure if the `!isa<CallInst>(Inst) &&
      !isa<TerminatorInst>(Inst))` bit is correct either, but this fixes the
      case we know is broken.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279689
      ce25e1a7
  2. 22 Aug, 2016 5 commits
    • Hans Wennborg's avatar
      Merging r279268: · 08064c20
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279268 | majnemer | 2016-08-19 09:37:40 -0700 (Fri, 19 Aug 2016) | 5 lines
      
      [CloneFunction] Don't remove unrelated nodes from the CGSSC
      
      CGSCC use a WeakVH to track call sites.  RAUW a call within a function
      can result in that WeakVH getting confused about whether or not the call
      site is still around.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279477
      08064c20
    • Hans Wennborg's avatar
      Merging r279368: · f7ff8644
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279368 | ed | 2016-08-20 03:54:51 -0700 (Sat, 20 Aug 2016) | 12 lines
      
      Add R_386_TLS_LE as a relocation having an implicit addend.
      
      TLS on i386 in non-PIE/PIC code seems broken right now, because we don't
      properly add the addend encoded in the instruction to the resulting
      offset when processing R_386_TLS_LE relocations.
      
      Extend one of the existing tests for TLS on i686 to use an addend.
      
      PR:		https://llvm.org/bugs/show_bug.cgi?id=29068
      Reviewed by:	ruiu
      Differential Revision:	https://reviews.llvm.org/D23741
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279476
      f7ff8644
    • Hans Wennborg's avatar
      Merging r279369 and update the test: · 0f664e38
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279369 | mssimpso | 2016-08-20 07:10:06 -0700 (Sat, 20 Aug 2016) | 1 line
      
      [SLP] Add command line option for minimum tree size (NFC)
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279474
      0f664e38
    • Hans Wennborg's avatar
      Merging r279352: · e7d842f6
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279352 | eugenis | 2016-08-19 17:38:55 -0700 (Fri, 19 Aug 2016) | 1 line
      
      [msan] Disable prlimit test on glibc < 2.13.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279471
      e7d842f6
    • Hans Wennborg's avatar
      Fix gather-root.ll SLP vectorizer test to not expose UB. · afe20942
      Hans Wennborg authored
      The undefined behaviour (signed integer overflow) is not a regression
      in itself as it was already there, but the test exposing it is a
      regression compared to rc1, i.e. the lit tests no longer run ubsan-clean.
      
      This commit fixes the test based on Matt's change in r279125 to not
      expose the undefined behaviour.
      
      llvm-svn: 279468
      afe20942
  3. 19 Aug, 2016 2 commits
  4. 18 Aug, 2016 24 commits
    • Hans Wennborg's avatar
      ReleaseNotes: fix gold plugin link · cf3f88d2
      Hans Wennborg authored
      llvm-svn: 279177
      cf3f88d2
    • Hans Wennborg's avatar
      ReleaseNotes: missing char · c867c52e
      Hans Wennborg authored
      llvm-svn: 279176
      c867c52e
    • Hans Wennborg's avatar
      Merging r279125 and r278343: · c0de4d5d
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279125 | mssimpso | 2016-08-18 12:50:32 -0700 (Thu, 18 Aug 2016) | 14 lines
      
      [SLP] Initialize VectorizedValue when gathering
      
      We abort building vectorizable trees in some cases (e.g., if the maximum
      recursion depth is reached, if the region size is too large, etc.). If this
      happens for a reduction, we can be left with a root entry that needs to be
      gathered. For these cases, we need make sure we actually set VectorizedValue to
      the resulting vector.
      
      This patch ensures we properly set VectorizedValue, and it also ensures the
      insertelement sequence generated for the gathers is inserted at the correct
      location.
      
      Reference: https://llvm.org/bugs/show_bug.cgi?id=28330
      Differential Revison: https://reviews.llvm.org/D23410
      ```
      
      ---------------------------------------------------------------------
      
      ------------------------------------------------------------------------
      r278343 | mssimpso | 2016-08-11 08:28:45 -0700 (Thu, 11 Aug 2016) | 1 line
      
      [SLP] Make RecursionMaxDepth a command line option (NFC)
      ------------------------------------------------------------------------
      
      llvm-svn: 279174
      c0de4d5d
    • Hans Wennborg's avatar
      ReleaseNotes: sphinx build fixes · 8d1eea8b
      Hans Wennborg authored
      llvm-svn: 279147
      8d1eea8b
    • Hans Wennborg's avatar
      ReleaseNotes: sphinx build fixes · 95487b93
      Hans Wennborg authored
      llvm-svn: 279146
      95487b93
    • Hans Wennborg's avatar
      Drop doxygen link; the release ships it in tarball instead · 1917148a
      Hans Wennborg authored
      llvm-svn: 279144
      1917148a
    • Hans Wennborg's avatar
      ReleaseNotes: tidy up · b97bb7bd
      Hans Wennborg authored
      llvm-svn: 279142
      b97bb7bd
    • Hans Wennborg's avatar
      ReleaseNotes: drop in-progress warning · ff55bde1
      Hans Wennborg authored
      llvm-svn: 279139
      ff55bde1
    • Hans Wennborg's avatar
      ReleaseNotes: clean up · 67b2d3e5
      Hans Wennborg authored
      llvm-svn: 279138
      67b2d3e5
    • Hans Wennborg's avatar
      ReleaseNotes: remove in-progress warning · 09a8bb52
      Hans Wennborg authored
      llvm-svn: 279137
      09a8bb52
    • Hans Wennborg's avatar
      ReleaseNotes: tidy up · febb1300
      Hans Wennborg authored
      llvm-svn: 279136
      febb1300
    • Hans Wennborg's avatar
      ReleaseNotes: remove in-progress warning · a87302ce
      Hans Wennborg authored
      llvm-svn: 279135
      a87302ce
    • Hans Wennborg's avatar
      ReleaseNotes: clean up · 39970299
      Hans Wennborg authored
      llvm-svn: 279134
      39970299
    • Hans Wennborg's avatar
      ReleaseNotes: remove in-progress warning · cce20faf
      Hans Wennborg authored
      llvm-svn: 279131
      cce20faf
    • Hans Wennborg's avatar
      ReleaseNotes: drop in-progress warning · 893ec2fa
      Hans Wennborg authored
      llvm-svn: 279130
      893ec2fa
    • Hans Wennborg's avatar
      ReleaseNotes: reduced jump table density · e4cfe21a
      Hans Wennborg authored
      llvm-svn: 279128
      e4cfe21a
    • Hans Wennborg's avatar
      Merging r278559: · 52078d5b
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278559 | efriedma | 2016-08-12 13:28:02 -0700 (Fri, 12 Aug 2016) | 7 lines
      
      [AArch64LoadStoreOpt] Handle offsets correctly for post-indexed paired loads.
      
      Trunk would try to create something like "stp x9, x8, [x0], #512", which isn't actually a valid instruction.
      
      Differential revision: https://reviews.llvm.org/D23368
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279123
      52078d5b
    • Hans Wennborg's avatar
      Merging r278562: · 5050823a
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278562 | efriedma | 2016-08-12 13:39:51 -0700 (Fri, 12 Aug 2016) | 7 lines
      
      [AArch64LoadStoreOptimizer] Check aliasing correctly when creating paired loads/stores.
      
      The existing code accidentally skipped the aliasing check in edge cases.
      
      Differential revision: https://reviews.llvm.org/D23372
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279107
      5050823a
    • Hans Wennborg's avatar
      Merging r278988: · 96ebd693
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278988 | cbieneman | 2016-08-17 14:54:30 -0700 (Wed, 17 Aug 2016) | 14 lines
      
      [Darwin] Stop linking libclang_rt.eprintf.a
      
      Summary:
      The eprintf library was added before the general OS X builtins library existed as a place to store one builtin function. Since we have for several years had an actual mandated builtin library for OS X > 10.5, we should just merge eprintf into the main library.
      
      This change will resolve PR28855.
      
      As a follow up I'll also patch compiler-rt to not generate the eprintf library anymore.
      
      Reviewers: ddunbar, bob.wilson
      
      Subscribers: cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D23531
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279103
      96ebd693
    • Hans Wennborg's avatar
      Merging r278999: · 4d137ce7
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278999 | hans | 2016-08-17 15:50:18 -0700 (Wed, 17 Aug 2016) | 3 lines
      
      SCEV: Don't assert about non-SCEV-able value in isSCEVExprNeverPoison() (PR28932)
      
      Differential Revision: https://reviews.llvm.org/D23594
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279093
      4d137ce7
    • Anastasia Stulova's avatar
      Removed extra space in OpenCL release notes · 04628216
      Anastasia Stulova authored
      llvm-svn: 279083
      04628216
    • Rui Ueyama's avatar
      Update release notes. · 648212d3
      Rui Ueyama authored
      llvm-svn: 279018
      648212d3
    • Hans Wennborg's avatar
      Merging r279008: · 1256b9e0
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r279008 | marshall | 2016-08-17 16:24:02 -0700 (Wed, 17 Aug 2016) | 1 line
      
      make the associative containers do the right thing for propogate_on_container_assignment. Fixes bug #29001. Tests are only for <map> right now - more complete tests will come when we revamp our allocator testing structure.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279017
      1256b9e0
    • Hans Wennborg's avatar
      Merging r278904: · bd5a61f9
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278904 | marshall | 2016-08-16 22:58:40 -0700 (Tue, 16 Aug 2016) | 1 line
      
      Support allocators with explicit conversion constructors. Fixes bug #29000
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 279015
      bd5a61f9
  5. 17 Aug, 2016 7 commits
    • Hans Wennborg's avatar
      Merging r278949: (excluding the clang-include-fixer.el part) · c400b144
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278949 | eugenezelenko | 2016-08-17 10:27:56 -0700 (Wed, 17 Aug 2016) | 4 lines
      
      [Include-fixer] Install executables and support scripts
      
      Differential revision: https://reviews.llvm.org/D23045
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278997
      c400b144
    • Hans Wennborg's avatar
      Merging r278938: · a1f6fd32
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278938 | mcrosier | 2016-08-17 08:54:39 -0700 (Wed, 17 Aug 2016) | 5 lines
      
      Revert "Reassociate: Reprocess RedoInsts after each inst".
      
      This reverts commit r258830, which introduced a bug described in PR28367.
      
      PR28367
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278993
      a1f6fd32
    • Hans Wennborg's avatar
      Merging r278900: · 4c27d269
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278900 | cycheng | 2016-08-16 20:17:44 -0700 (Tue, 16 Aug 2016) | 12 lines
      
      [ppc64] Don't apply sibling call optimization if callee has any byval arg
      
      This is a quick work around, because in some cases, e.g. caller's stack
      size > callee's stack size, we are still able to apply sibling call
      optimization even callee has any byval arg.
      
      This patch fix: https://llvm.org/bugs/show_bug.cgi?id=28328
      
      Reviewers: hfinkel kbarton nemanjai amehsan
      Subscribers: hans, tjablin
      
      https://reviews.llvm.org/D23441
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278990
      4c27d269
    • Hans Wennborg's avatar
      Merging r278786: · 178a30f3
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278786 | jamesm | 2016-08-16 02:45:36 -0700 (Tue, 16 Aug 2016) | 4 lines
      
      Left shifts of negative values are defined if -fwrapv is set
      
      This means we shouldn't emit ubsan detection code or warn.
      Fixes PR25552.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278989
      178a30f3
    • Hans Wennborg's avatar
      Merging r277852: · d8f682e8
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r277852 | dblaikie | 2016-08-05 12:03:01 -0700 (Fri, 05 Aug 2016) | 7 lines
      
      PR26423: Assert on valid use of using declaration of a function with an undeduced auto return type
      
      For now just disregard the using declaration in this case. Suboptimal,
      but wiring up the ability to have declarations of functions that are
      separate from their definition (we currently only do that for member
      functions) and have differing return types (we don't have any support
      for that) is more work than seems reasonable to at least fix this crash.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278877
      d8f682e8
    • Hans Wennborg's avatar
      ReleaseNotes: mention new /imsvc flag · 6993bdae
      Hans Wennborg authored
      llvm-svn: 278876
      6993bdae
    • Hans Wennborg's avatar
      Merging r278841: · 74361889
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278841 | haicheng | 2016-08-16 13:06:25 -0700 (Tue, 16 Aug 2016) | 3 lines
      
      [BranchFolding] Change a test case of r278575.
      
      Rename the operands to make the test less brittle.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278874
      74361889
  6. 16 Aug, 2016 1 commit
    • Hans Wennborg's avatar
      Merging r278571: · de5499dc
      Hans Wennborg authored
      ```---------------------------------------------------------------------
      r278571 | rnk | 2016-08-12 15:23:04 -0700 (Fri, 12 Aug 2016) | 6 lines
      
      [Inliner] Don't treat inalloca allocas as static
      
      They aren't static, and moving them to the entry block across something
      else will only result in tears.
      
      Root cause of http://crbug.com/636558.
      ```
      
      ---------------------------------------------------------------------
      
      llvm-svn: 278831
      de5499dc