Skip to content
  1. Apr 01, 2015
  2. Mar 31, 2015
    • Derek Schuff's avatar
      0da48b7c
    • Kostya Serebryany's avatar
      [fuzzer] more documentation · 79677384
      Kostya Serebryany authored
      llvm-svn: 233763
      79677384
    • Zachary Turner's avatar
      Fix build error due to new plugin namespaces. · aa7f12be
      Zachary Turner authored
      llvm-svn: 233762
      aa7f12be
    • Sanjay Patel's avatar
      typo; NFC · 0b464dc4
      Sanjay Patel authored
      llvm-svn: 233761
      0b464dc4
    • Duncan P. N. Exon Smith's avatar
      IR: Rename replaceWithUniqued() tests from r233751 · 014f1b83
      Duncan P. N. Exon Smith authored
      replaceWithUniquedUnresolved
      replaceWithUniquedUnresolvedChangedOperand
       =>
      replaceWithUniquedResolvingOperand
      replaceWithUniquedChangingOperand
      
      I find the new names less confusing; they're also more accurate.  Sorry
      for the churn.
      
      llvm-svn: 233759
      014f1b83
    • Zachary Turner's avatar
      Rework LLDB system initialization. · e6e2bb38
      Zachary Turner authored
      In an effort to reduce binary size for components not wishing to
      link against all of LLDB, as well as a parallel effort to reduce
      link dependencies on Python, this patch splits out the notion of
      LLDB initialization into "full" and "common" initialization.
      
      All code related to initializing the full LLDB suite lives directly
      in API now.  Previously it was only referenced from API, but because
      it was defined in lldbCore, it would get implicitly linked against
      by everything including lldb-server, causing a considerable
      increase in binary size.
      
      By moving this to the API layer, it also creates a better layering
      for the ongoing effort to make the embedded interpreter replacable
      with one from a different language (or even be completely removeable).
      
      One semantic change necessary to get this all working was to remove
      the notion of a shared debugger refcount.  The debugger is either
      initialized or uninitialized now, and calling Initialize() multiple
      times will simply have no effect, while the first Terminate() will
      now shut it down no matter how many times Initialize() was called.
      This behaves nicely with all of our supported usage patterns though,
      and allows us to fix a number of nasty hacks from before.
      
      Differential Revision: http://reviews.llvm.org/D8462
      
      llvm-svn: 233758
      e6e2bb38
    • Greg Clayton's avatar
      Make sure that "add-dsym" can't crash us when using it. · 90271672
      Greg Clayton authored
      I am fixing this by:
      1 - make sure we aren't trying to set the symbol file for a module to the same thing it already has and leaving it alone if it is the same
      2 - keep all old symbol files around in the module in case there are any outstanding type references
      
      <rdar://problem/18029116>
      
      llvm-svn: 233757
      90271672
    • Duncan P. N. Exon Smith's avatar
      Verifier: Add a testcase for verifying type refs · 30daf915
      Duncan P. N. Exon Smith authored
      r233664 fixed the `Verifier` so that it doesn't crash on bad type refs.
      This deserves a test!
      
      llvm-svn: 233756
      30daf915
    • Hal Finkel's avatar
      [PowerPC] Don't use a vector preferred memory type at -O0 · 52368d44
      Hal Finkel authored
      Even at -O0, we fall back to SDAG when we hit intrinsics, and if the intrinsic
      is a memset/memcpy/etc. we might normally use vector types. At -O0, this is
      probably not a good idea (because, if there is a bug in the lowering code,
      there would be no good way to turn it off). At -O0, only use scalar preferred
      types.
      
      Related to PR22754.
      
      llvm-svn: 233755
      52368d44
    • Greg Clayton's avatar
      1988ac60
    • Quentin Colombet's avatar
      [AArch64] Enable the codegenprepare optimization that promotes operation to form · 6843ac47
      Quentin Colombet authored
      extended loads.
      Implement the related target lowering hook so that the optimization has a better
      estimation of the cost of an extension.
      
      rdar://problem/19267165
      
      llvm-svn: 233753
      6843ac47
    • Matthias Braun's avatar
      d5fa8fb1
    • Duncan P. N. Exon Smith's avatar
      IR: Enable uniquing callbacks during MDNode::replaceWithUniqued() · cb33d6f5
      Duncan P. N. Exon Smith authored
      Uniqued nodes have more complete registration with
      `ReplaceableMetadataImpl` so that they can update themselves when
      operands change.  Fix a bug where `MDNode::replaceWithUniqued()` wasn't
      enabling these callbacks.
      
      The two most obvious ways missing callbacks causes problems is that
      auto-resolution fails and re-uniquing (on changed operands) just doesn't
      happen.  I've added tests for both -- in both cases, I confirmed that
      the final check was failing before the fix.
      
      rdar://problem/20365935
      
      llvm-svn: 233751
      cb33d6f5
    • Lang Hames's avatar
      [MCJIT] Enable MCJIT regression tests on Darwin. · 95e38baa
      Lang Hames authored
      Commit r233747 fixed the issue that had been blocking this.
      
      llvm-svn: 233750
      95e38baa
    • Hal Finkel's avatar
      [SDAG] Handle non-integer preferred memset types for non-constant values · 17b6d77a
      Hal Finkel authored
      The existing code in getMemsetValue only handled integer-preferred types when
      the fill value was not a constant. Make this more robust in two ways:
      
        1. If the preferred type is a floating-point value, do the mul-splat trick on
           the corresponding integer type and then bitcast.
        2. If the preferred type is a vector, do the mul-splat trick on one vector
           element, and then build a vector out of them.
      
      Fixes PR22754 (although, we should also turn off use of vector types at -O0).
      
      llvm-svn: 233749
      17b6d77a
    • Rui Ueyama's avatar
      ELF: Remove TargetHandler::getTargetLayout. · 1490b351
      Rui Ueyama authored
      Only MIPS used that member function, and by removing the use of the
      function, I removed a static_cast. Seems like it's a win.
      
      llvm-svn: 233748
      1490b351
    • Lang Hames's avatar
      [ExecutionEngine] Fix MCJIT::addGlobalMapping. · 3dac3f7f
      Lang Hames authored
      This patch fixes MCJIT::addGlobalMapping by changing the implementation of the
      ExecutionEngineState class. The new implementation maintains a bidirectional
      mapping between symbol names (std::strings) and addresses (uint64_ts), rather
      than a mapping between Value*s and void*s.
      
      This has fix has been made for backwards compatibility, however the strongly
      preferred way to resolve unknown symbols is by writing a custom
      RuntimeDyld::SymbolResolver (formerly RTDyldMemoryManager) and overriding the
      findSymbol method. The addGlobalMapping method is a hangover from the legacy JIT
      (which has was removed in 3.6), and may be deprecated in a future release as
      part of a clean-up of the ExecutionEngine interface.
      
      Patch by Murat Bolat. Thanks Murat!
      
      llvm-svn: 233747
      3dac3f7f
Loading