Skip to content
  1. Jun 30, 2017
  2. Jun 29, 2017
    • Dinar Temirbulatov's avatar
      [SLPVectorizer] Moving Entry->NeedToGather check out of inner loop, · f05c73c1
      Dinar Temirbulatov authored
                      since it is invariant there. NFCI.
      
      llvm-svn: 306749
      f05c73c1
    • Simon Dardis's avatar
      Revert "[mips] Fix multiprecision arithmetic." · dede76f4
      Simon Dardis authored
      This reverts commit r305389. This broke chromium builds, so reverting
      while I investigate further.
      
      llvm-svn: 306741
      dede76f4
    • Chad Rosier's avatar
      [AArch64] Silence an unused variable warning in Release builds. NFC. · 4c1bc656
      Chad Rosier authored
      llvm-svn: 306738
      4c1bc656
    • Keno Fischer's avatar
      [CodeGenPrepare] Don't create inttoptr for ni ptrs · 05e4ac26
      Keno Fischer authored
      Summary:
      Arguably non-integral pointers probably shouldn't show up here at all,
      but since the backend doesn't complain and this takes valid (according
      to the Verifier) IR and makes it invalid, make sure not to introduce
      any inttoptr instructions if we're dealing with non-integral pointers.
      
      Reviewed By: sanjoy
      Differential Revision: https://reviews.llvm.org/D33110
      
      llvm-svn: 306737
      05e4ac26
    • Reid Kleckner's avatar
      Attempt to fix Orc JIT test timeouts · f03096b3
      Reid Kleckner authored
      I think there are some destruction ordering issues here. The
      ShouldDelete map seems to be getting destroyed before the shared_ptr
      deleter lambda accesses it. In any case, this avoids inserting elements
      into the map during shutdown.
      
      llvm-svn: 306736
      f03096b3
    • Spyridoula Gravani's avatar
      [DWARF] Added verification checks for the .apple_names section. · 837c110c
      Spyridoula Gravani authored
      This patch verifies the number of atoms, the validity of the form for each atom, as well as the validity of the
      hashdata. For hashdata, we're verifying that the hashdata offset is correct and that the offset in the .debug_info for
      each DIE in the hashdata is also valid.
      
      llvm-svn: 306735
      837c110c
    • Sam Clegg's avatar
      Remove `inline` keyword from inline `classof` methods · 3d65030c
      Sam Clegg authored
      The style guide states that the explicit `inline`
      should not be used with inline methods.  classof is
      very common inline method with a fair amount on
      inconsistency:
      
      $ git grep classof ./include | grep inline | wc -l
      230
      $ git grep classof ./include | grep -v inline | wc -l
      257
      
      I chose to target this method rather the larger change
      since this method is easily cargo-culted (I did it at
      least once).  I considered doing the larger change and
      removing all occurrences but that would be a much larger
      change.
      
      Differential Revision: https://reviews.llvm.org/D33906
      
      llvm-svn: 306731
      3d65030c
    • Keno Fischer's avatar
      [AliasSetTracker] Don't drop AA MD so eagerly · 99886f09
      Keno Fischer authored
      Summary:
      When we have patterns like
      loop:
          %la = load %ptr, !tbaa
          %lba = load %ptr, !tbaa !noalias
      
      AliasSetTracker would previously think that the two types of annotation for
      the pointer conflict, dropping both for the purpose of determining alias sets.
      That is clearly way too conservative, as the tbaa is still valid whether or
      not one of the memory accesses has additional AA metadata. We could go
      one step further and attempt to properly merge the AA metadata,
      but it's not clear that that would be worth it since that may introduce
      additional MD nodes, which may be undesirable since this is merely an
      Analysis.
      
      Reviewers: hfinkel
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D32139
      
      llvm-svn: 306727
      99886f09
    • Brian Gesiak's avatar
      [opt-viewer] Add progress indicators (PR33522) · 5e0a9465
      Brian Gesiak authored
      Summary:
      Provide feedback to users of opt-diff.py, opt-stats.py, and opt-viewer.py,
      on how many YAML files have finished being processed, and how many HTML
      files have been generated. This feedback is particularly helpful for
      opt-viewer.py, which may take a long time to complete when given many
      large YAML files as input.
      
      The progress indicators use simple output such as the following:
      
      ```
      Reading YAML files...
          9 of 1197
      ```
      
      Test plan:
      Run `utils/opt-viewer/opt-*.py` on a CentOS and macOS machine, using
      Python 3.4 and Python 2.7 respectively, and ensure the output is
      formatted well on both.
      
      Reviewers: anemet, davidxl
      
      Reviewed By: anemet
      
      Subscribers: simon.f.whittaker, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34735
      
      llvm-svn: 306726
      5e0a9465
    • Alexandre Isoard's avatar
      Reverting r306695 while investigating failing test case. · 41044876
      Alexandre Isoard authored
      Failing test case:
          Transforms/LoopVectorize.iv_outside_user.ll
      
      llvm-svn: 306723
      41044876
    • Brian Gesiak's avatar
      [opt-viewer] Python 3 support in opt-viewer.py · d3a05713
      Brian Gesiak authored
      Summary:
      Minor changes that allow opt-stats.py to support both Python 2 and 3.
      In addition to the same dictionary iterator changes that were necessary
      in https://reviews.llvm.org/D34564, this diff also:
      
      * Explcitly converts strings to bytes when reading from and writing to stdin
        and stdout.
      * No longer uses dictionaries as a sort key for optimization remarks.
        Dictionary sort order in Python 2 is pretty esoteric anyway, so it's
        not clear that the additional sorting had a benefit for end users
        (for details, https://stackoverflow.com/a/3484456/679254 is a good
        resource on Python 2 dictionary sort order).
      
      Reviewers: anemet, davidxl
      
      Reviewed By: anemet
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34647
      
      llvm-svn: 306720
      d3a05713
    • Sam Clegg's avatar
      llvm-nm: Add support for symbol demangling (-C/--demangle) · 531da008
      Sam Clegg authored
      Differential Revision: https://reviews.llvm.org/D34668
      
      llvm-svn: 306718
      531da008
    • Xin Tong's avatar
      [OrderedInst] Add const to constant parameter. NFCI · 66f6d69c
      Xin Tong authored
      llvm-svn: 306717
      66f6d69c
    • Hiroshi Inoue's avatar
      fix trivial typo, NFC · ff8453db
      Hiroshi Inoue authored
      llvm-svn: 306716
      ff8453db
    • Jakub Kuderski's avatar
      [Dominators] Rearrange access specifiers in DominatorTreeBase · c4bbce72
      Jakub Kuderski authored
      Summary:
      This patch makes DominatorTreeBase more readable by putting most important members on top of the class.
      
      Before, the class looked like that: private -> protected (including data members) -> public -> protected.
      The patch changes it to: protected (data members only) -> public -> protected -> public.
      
      Reviewers: dberlin, sanjoy, chandlerc
      
      Reviewed By: dberlin
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34527
      
      llvm-svn: 306714
      c4bbce72
    • Jakub Kuderski's avatar
      [Dominators] Remove DominatorBase class · 35fca341
      Jakub Kuderski authored
      Summary:
      DominatorBase class was only used by DominatorTreeBase. It didn't provide any useful abstractions, nor simplified anything, so I see no point keeping it.
      
      This commit removes the DominatorBase class and moves its content into DominatorTreeBase.
      
      This is the first patch in a series that tries to make all DomTrees have a single virtual root, which will allow to further simplify code (especially when it comes to incremental updates).
      
      Reviewers: dberlin, sanjoy, chandlerc
      
      Reviewed By: dberlin
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34493
      
      llvm-svn: 306713
      35fca341
    • Xin Tong's avatar
      Remove useless header. NFC · 02008c30
      Xin Tong authored
      llvm-svn: 306712
      02008c30
Loading