Skip to content
  1. Apr 23, 2016
  2. Apr 22, 2016
    • Sriraman Tallam's avatar
      Differential Revision: http://reviews.llvm.org/D19040 · 3cb77343
      Sriraman Tallam authored
      llvm-svn: 267229
      3cb77343
    • David Blaikie's avatar
      llvm-symbolizer: prefer .dwo contents over fission-gmlt-like-data when .dwo file is present · 9a4f3cb2
      David Blaikie authored
      Rather than relying on the gmlt-like data emitted into the .o/executable
      which only contains the simple name of any inlined functions, use the
      .dwo file if present.
      
      Test symbolication with/without a .dwo, and the old test that was
      testing behavior when no gmlt-like data was present. (I haven't included
      a test of non-gmlt-like data + no .dwo (that would be akin to
      symbolication with no debug info) but we could add one for completeness)
      
      The test was simplified a bit to be a little clearer (unoptimized, force
      inline, using a function call as the inlined entity) and regenerated
      with ToT clang. For the no-gmlt-like-data case, I modified Clang back to
      its old behavior temporarily & the .dwo file is identical so it is
      shared between the two executables.
      
      llvm-svn: 267227
      9a4f3cb2
    • Dehao Chen's avatar
      Update discriminator assignment algorithm in clang assembler. · 18ce9d82
      Dehao Chen authored
      Summary: The clang assembler assumes that the discriminator remains the same when there is source line change. The correct behavior is that when there is line change, discriminator will automatically reset to 0.
      
      Reviewers: dnovillo, davidxl, echristo
      
      Subscribers: echristo, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D19436
      
      llvm-svn: 267226
      18ce9d82
    • Matt Arsenault's avatar
      AMDGPU: Fix crash when dumping unknown opcode · 87d80dbf
      Matt Arsenault authored
      I'm for some reason having a problem producing a test.
      It should be the same as test/MC/X86/invalid_opcode.s,
      but llvm-mc seems to ignore random bytes.
      
      llvm-svn: 267225
      87d80dbf
    • Peter Collingbourne's avatar
      Introduce llvm.load.relative intrinsic. · 7dd8dbf4
      Peter Collingbourne authored
      This intrinsic takes two arguments, ``%ptr`` and ``%offset``. It loads
      a 32-bit value from the address ``%ptr + %offset``, adds ``%ptr`` to that
      value and returns it. The constant folder specifically recognizes the form of
      this intrinsic and the constant initializers it may load from; if a loaded
      constant initializer is known to have the form ``i32 trunc(x - %ptr)``,
      the intrinsic call is folded to ``x``.
      
      LLVM provides that the calculation of such a constant initializer will
      not overflow at link time under the medium code model if ``x`` is an
      ``unnamed_addr`` function. However, it does not provide this guarantee for
      a constant initializer folded into a function body. This intrinsic can be
      used to avoid the possibility of overflows when loading from such a constant.
      
      Differential Revision: http://reviews.llvm.org/D18367
      
      llvm-svn: 267223
      7dd8dbf4
    • Matt Arsenault's avatar
      TLI: Only iterate over integer vector types · 940d19a0
      Matt Arsenault authored
      Instead of iterating over all vectors and skipping integers.
      
      llvm-svn: 267220
      940d19a0
    • Matt Arsenault's avatar
      DAGCombiner: Relax alignment restriction when changing store type · 3b748d76
      Matt Arsenault authored
      If the target allows the alignment, this should be OK.
      
      llvm-svn: 267217
      3b748d76
    • Rong Xu's avatar
      [PGO] change the interface for createPGOFuncNameMetadata() · f8f051cb
      Rong Xu authored
      This patch changes the interface for createPGOFuncNameMetadata() where we add
      another PGOFuncName argument.
      
      Differential Revision: http://reviews.llvm.org/D19433
      
      llvm-svn: 267216
      f8f051cb
Loading