1. Sep 11, 2019
    • Sam Elliott's avatar
      [RISCV] Support llvm-objdump -M no-aliases and -M numeric · d57de491
      Sam Elliott authored
      Summary:
      Now that llvm-objdump allows target-specific options, we match the
      `no-aliases` and `numeric` options for RISC-V, as supported by GNU objdump.
      
      This is done by overriding the variables used for the command-line options, so
      that the command-line options are still supported.
      
      This patch updates all tests using `llvm-objdump -riscv-no-aliases` to use
      `llvm-objdump -M no-aliases`.
      
      Reviewers: luismarques, asb
      
      Reviewed By: luismarques, asb
      
      Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D66139
      
      llvm-svn: 371534
      d57de491
    • Matt Arsenault's avatar
      AMDGPU/GlobalISel: First pass at attempting to legalize load/stores · c0ceca58
      Matt Arsenault authored
      There's still a lot more to do, but this handles decomposing due to
      alignment. I've gotten it to the point where nothing crashes or
      infinite loops the legalizer.
      
      llvm-svn: 371533
      c0ceca58
    • Adrian Prantl's avatar
      Implement DW_OP_convert · 9b23df63
      Adrian Prantl authored
      This patch adds basic support for DW_OP_convert[1] for integer
      types. Recent versions of LLVM's optimizer may insert this opcode into
      DWARF expressions. DW_OP_convert is effectively a type cast operation
      that takes a reference to a base type DIE (or zero) and then casts the
      value at the top of the DWARF stack to that type. Internally this
      works by changing the bit size of the APInt that is used as backing
      storage for LLDB's DWARF stack.
      
      I managed to write a unit test for this by implementing a mock YAML
      object file / module that takes debug info sections in yaml2obj
      format.
      
      [1] Typed DWARF stack. http://www.dwarfstd.org/ShowIssue.php?issue=140425.1
      
      <rdar://problem/48167864>
      
      Differential Revision: https://reviews.llvm.org/D67369
      
      llvm-svn: 371532
      9b23df63
  2. Sep 10, 2019