Skip to content
  1. Oct 14, 2016
    • Konstantin Zhuravlyov's avatar
      [Support/ELF/AMDGPU] Add 32-bit lo/hi got and pc relative relocations · ee68fdad
      Konstantin Zhuravlyov authored
      Added relocation names:
        - R_AMDGPU_GOTPCREL32_LO
        - R_AMDGPU_GOTPCREL32_HI
        - R_AMDGPU_REL32_LO
        - R_AMDGPU_REL32_HI
      
      AMDGPU isa only supports 32-bit immediates. In order to access 64-bit address we need to generate 32-bit lo/hi relocations, and do the right math (separate patch). Currently we only generate one 32 bit relocation for lower bits for each access, losing higher bits. Hence we need relocations listed above.
      
      Differential Revision: https://reviews.llvm.org/D25546
      
      llvm-svn: 284191
      ee68fdad
  2. Aug 28, 2016
  3. Jul 20, 2016
    • Renato Golin's avatar
      [docs] Fixing Sphinx warnings to unclog the buildbot · 124f2593
      Renato Golin authored
      Lots of blocks had "llvm" or "nasm" syntax types but either weren't following
      the syntax, or the syntax has changed (and sphinx hasn't keep up) or the type
      doesn't even exist (nasm?).
      
      Other documents had :options: what were invalid. I only removed those that had
      warnings, and left the ones that didn't, in order to follow the principle of
      least surprise.
      
      This is like this for ages, but the buildbot is now failing on errors. It may
      take a while to upgrade the buildbot's sphinx, if that's even possible, but
      that shouldn't stop us from getting docs updates (which seem down for quite
      a while).
      
      Also, we're not losing any syntax highlight, since when it doesn't parse, it
      doesn't colour. Ie. those blocks are not being highlighted anyway.
      
      I'm trying to get all docs in one go, so that it's easy to revert later if we
      do fix, or at least easy to know what's to fix.
      
      llvm-svn: 276109
      124f2593
  4. Jun 29, 2016
  5. Jun 24, 2016
  6. Jun 14, 2016
  7. Jun 10, 2016
    • Tom Stellard's avatar
      docs: Add AMDGPU relocation information · 9fdfa518
      Tom Stellard authored
      Summary:
      This documents the various relocation types that are supported by the
      Radeon Open Compute (ROC) runtime (which is essentially the dynamic
      linker for AMDGPU).
      
      Only R_AMDGPU_32 is not currently supported by the ROC runtime, but
      it will usually be resolved at link time by lld.
      
      Patch by: Konstantin Zhuravlyov
      
      Reviewers: kzhuravl, rafael
      
      Subscribers: rafael, arsenm, llvm-commits, kzhuravl
      
      Differential Revision: http://reviews.llvm.org/D20952
      
      llvm-svn: 272352
      9fdfa518
  8. May 05, 2016
    • James Y Knight's avatar
      Remove bit-rotten CppBackend. · 0c145c0c
      James Y Knight authored
      This backend was supposed to generate C++ code which will re-construct
      the LLVM IR passed as input. This seems to me to have very marginal
      usefulness in the first place.
      
      However, the code has never been updated to use IRBuilder, which makes
      its current value negative -- people who look at the output may be
      steered to use the *wrong* C++ APIs to construct IR.
      
      Furthermore, it's generated code that doesn't compile since at least
      2013.
      
      Differential Revision: http://reviews.llvm.org/D19942
      
      llvm-svn: 268631
      0c145c0c
  9. May 03, 2016
  10. Mar 14, 2016
  11. Nov 13, 2015
  12. Aug 15, 2015
  13. Jul 02, 2015
  14. Feb 19, 2015
  15. Jan 14, 2015
  16. Sep 10, 2014
  17. Sep 02, 2014
    • Matt Arsenault's avatar
      Add note to documentation about machine node chains. · 907e64b4
      Matt Arsenault authored
      I've been assuming chain operands were always the first operand,
      since the documentation says this. I was confused about why they
      were missing after instruction selection. Apparently the convention
      changes to using the last operand for MachineSDNodes and I've never
      noticed before.
      
      llvm-svn: 216934
      907e64b4
  18. Jul 01, 2014
  19. Jun 30, 2014
  20. May 14, 2014
  21. May 10, 2014
    • Reid Kleckner's avatar
      Revert "[ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret'" · c487d73f
      Reid Kleckner authored
      This reverts commit r200561.
      
      This calling convention was an attempt to match the MSVC C++ ABI for
      methods that return structures by value.  This solution didn't scale,
      because it would have required splitting every CC available on Windows
      into two: one for methods and one for free functions.
      
      Now that we can put sret on the second arg (r208453), and Clang does
      that (r208458), revert this hack.
      
      llvm-svn: 208459
      c487d73f
  22. Apr 08, 2014
    • Sean Silva's avatar
      [docs] Fix up some links to the preferred style. · 1703e705
      Sean Silva authored
      :doc:`...` and :ref:`...` links help Sphinx keep track the dependencies
      between documents and ensure that they are not pointing to nowhere.
      
      Raw HTML links work just fine and are easier for people less familiar
      with reST/Sphinx. They are easy to change over to the :doc:/:ref: style
      after the fact so this is not a problem.
      
      This commit doesn't fix all of them.
      
      llvm-svn: 205792
      1703e705
    • Sean Silva's avatar
      [docs] Fix some links · 397ee6ec
      Sean Silva authored
      The TableGen docs have changed structure
      
      Patch by Tay Ray Chuan!
      
      llvm-svn: 205744
      397ee6ec
  23. Jan 31, 2014
    • Reid Kleckner's avatar
      [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' · 1c843228
      Reid Kleckner authored
      MSVC always places the 'this' parameter for a method first.  The
      implicit 'sret' pointer for methods always comes second.  We already
      implement this for __thiscall by putting sret parameters on the stack,
      but __cdecl methods require putting both parameters on the stack in
      opposite order.
      
      Using a special calling convention allows frontends to keep the sret
      parameter first, which avoids breaking lots of assumptions in LLVM and
      Clang.
      
      Fixes PR15768 with the corresponding change in Clang.
      
      Reviewers: ributzka, majnemer
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2663
      
      llvm-svn: 200561
      1c843228
  24. Jan 13, 2014
  25. Oct 16, 2013
  26. Oct 09, 2013
  27. Oct 01, 2013
  28. Jul 25, 2013
  29. May 14, 2013
  30. May 08, 2013
  31. May 05, 2013
  32. Mar 19, 2013
    • Ulrich Weigand's avatar
      Extend TableGen instruction selection matcher to improve handling · e618abd6
      Ulrich Weigand authored
      of complex instruction operands (e.g. address modes).
      
      Currently, if a Pat pattern creates an instruction that has a complex
      operand (i.e. one that consists of multiple sub-operands at the MI
      level), this operand must match a ComplexPattern DAG pattern with the
      correct number of output operands.
      
      This commit extends TableGen to alternatively allow match a complex
      operands against multiple separate operands at the DAG level.
      
      This allows using Pat patterns to match pre-increment nodes like
      pre_store (which must have separate operands at the DAG level) onto
      an instruction pattern that uses a multi-operand memory operand,
      like the following example on PowerPC (will be committed as a
      follow-on patch):
      
        def STWU  : DForm_1<37, (outs ptr_rc:$ea_res), (ins GPRC:$rS, memri:$dst),
                          "stwu $rS, $dst", LdStStoreUpd, []>,
                          RegConstraint<"$dst.reg = $ea_res">, NoEncode<"$ea_res">;
      
        def : Pat<(pre_store GPRC:$rS, ptr_rc:$ptrreg, iaddroff:$ptroff),
                  (STWU GPRC:$rS, iaddroff:$ptroff, ptr_rc:$ptrreg)>;
      
      Here, the pair of "ptroff" and "ptrreg" operands is matched onto the
      complex operand "dst" of class "memri" in the "STWU" instruction.
      
      Approved by Jakob Stoklund Olesen.
      
      llvm-svn: 177428
      e618abd6
  33. Jan 30, 2013
  34. Jan 11, 2013
Loading