Skip to content
  1. Sep 04, 2018
    • David Chisnall's avatar
      Disable the GNUstep v2 ABI on Windows. · 6d924ad2
      David Chisnall authored
      The code remains so that we can potentially reenable it in a point
      release, but the driver will reject it.  Several issues were raised
      during testing that made it clear that this was not quite ready for
      general consumption.
      
      Approved by: Hans Wennborg
      
      llvm-svn: 341350
      6d924ad2
    • Fedor Sergeev's avatar
      [NFC] correcting patterns in time-passes test to fix buildbot · 961811f3
      Fedor Sergeev authored
      llvm-svn: 341348
      961811f3
    • Max Kazantsev's avatar
      [NFC] Add assert to detect LCSSA breaches early · f34115c6
      Max Kazantsev authored
      llvm-svn: 341347
      f34115c6
    • Fedor Sergeev's avatar
      [PassTiming] reporting time-passes separately for multiple pass instances of the same pass · f2d4372e
      Fedor Sergeev authored
      Summary:
      Refactoring done by rL340872 accidentally appeared to be non-NFC, changing the way how
      multiple instances of the same pass are handled - aggregation of results by PassName
      forced data for multiple instances to be merged together and reported as one line.
      
      Getting back to creating/reporting timers per pass instance.
      Reporting was a bit enhanced by counting pass instances and adding #<num> suffix
      to the pass description. Note that it is instances that are being counted,
      not invocations of them.
      
      time-passes test updated to account for multiple passes being run.
      
      Reviewers: paquette, jhenderson, MatzeB, skatkov
      
      Reviewed By: skatkov
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D51535
      
      llvm-svn: 341346
      f2d4372e
    • Max Kazantsev's avatar
      [IndVars] Fix usage of SCEVExpander to not mess with SCEVConstant. PR38674 · 2cbba563
      Max Kazantsev authored
      This patch removes the function `expandSCEVIfNeeded` which behaves not as
      it was intended. This function tries to make a lookup for exact existing expansion
      and only goes to normal expansion via `expandCodeFor` if this lookup hasn't found
      anything. As a result of this, if some instruction above the loop has a `SCEVConstant`
      SCEV, this logic will return this instruction when asked for this `SCEVConstant` rather
      than return a constant value. This is both non-profitable and in some cases leads to
      breach of LCSSA form (as in PR38674).
      
      Whether or not it is possible to break LCSSA with this algorithm and with some
      non-constant SCEVs is still in question, this is still being investigated. I wasn't
      able to construct such a test so far, so maybe this situation is impossible. If it is,
      it will go as a separate fix.
      
      Rather than do it, it is always correct to just invoke `expandCodeFor` unconditionally:
      it behaves smarter about insertion points, and as side effect of this it will choose a
      constant value for SCEVConstants. For other SCEVs it may end up finding a better insertion
      point. So it should not be worse in any case.
      
      NOTE: So far the only known case for which this transform may break LCSSA is mapping
      of SCEVConstant to an instruction. However there is a suspicion that the entire algorithm
      can compromise LCSSA form for other cases as well (yet not proved).
      
      Differential Revision: https://reviews.llvm.org/D51286
      Reviewed By: etherzhhb
      
      llvm-svn: 341345
      2cbba563
    • Puyan Lotfi's avatar
      [NFC][llvm-objcopy] clang-formating Object.cpp · bd203e03
      Puyan Lotfi authored
      llvm-svn: 341344
      bd203e03
    • Puyan Lotfi's avatar
      a7a5816b
    • Puyan Lotfi's avatar
      [llvm-objcopy] Dwarf .debug section compression support (zlib, zlib-gnu). · 5a40cd5b
      Puyan Lotfi authored
        Usage:
      
        llvm-objcopy --compress-debug-sections=zlib foo.o
        llvm-objcopy --compress-debug-sections=zlib-gnu foo.o
      
        In both cases the debug section contents is compressed with zlib. In the GNU
        style case the header is the "ZLIB" magic string followed by the uint64 big-
        endian decompressed size. In the non-GNU mode the header is the
        Elf(32|64)_Chdr.
      
        Decompression support is coming soon.
      
      
        Differential Revision: https://reviews.llvm.org/D49678
      
      llvm-svn: 341342
      5a40cd5b
    • Sanjay Patel's avatar
      [AArch64][x86] add tests for pow(x, 0.25); NFC · 09459598
      Sanjay Patel authored
      Folds for this were proposed in D49306, but we
      decided the transform is better suited for the backend.
      
      llvm-svn: 341341
      09459598
    • David Bolvansky's avatar
      [NFC] Fixed enum constant in boolean context error · 52cadf0d
      David Bolvansky authored
      Summary:
      /home/xbolva00/LLVM/llvm/tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp:656:59: warning: enum constant in boolean context [-Wint-in-bool-context]
           if (mh.magic == llvm::MachO::MH_CIGAM || llvm::MachO::MH_MAGIC)
                                                                 ^~~~~~~~
      /home/xbolva00/LLVM/llvm/tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp:658:62: warning: enum constant in boolean context [-Wint-in-bool-context]
           if (mh.magic == llvm::MachO::MH_CIGAM_64 || llvm::MachO::MH_MAGIC_64)
      
      Reviewers: JDevlieghere, teemperor
      
      Reviewed By: teemperor
      
      Subscribers: abidh, lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D51600
      
      llvm-svn: 341340
      52cadf0d
    • David Bolvansky's avatar
      [NFC] Use llvm_unreachable instead of lldb::assert · 122441d8
      David Bolvansky authored
      Summary: Fixes implicit fall through warnings
      
      Reviewers: JDevlieghere, teemperor
      
      Reviewed By: teemperor
      
      Subscribers: lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D51601
      
      llvm-svn: 341339
      122441d8
  2. Sep 03, 2018
Loading