1. Jul 02, 2020
  2. Jul 01, 2020
    • Simon Pilgrim's avatar
      Make dyn_cast results explicitly auto* instead of just auto. · c83ec0a6
      Simon Pilgrim authored
      Noticed by clang-tidy llvm-qualified-auto warning.
      c83ec0a6
    • Simon Pilgrim's avatar
      Pass DebugLoc::appendInlinedAt DebugLoc arg by const reference not value. · 0ae989a1
      Simon Pilgrim authored
      Noticed by clang-tidy performance-unnecessary-value-param warning.
      0ae989a1
    • Pengxuan Zheng's avatar
      [RISCV] Add mcountinhibit CSR · d36f2c6a
      Pengxuan Zheng authored
      Summary:
      The mcountinhibit CSR is defined in the ratified 1.11 version of the privileged
      spec.
      
      Reviewers: apazos, asb, lenary, luismarques
      
      Reviewed By: asb
      
      Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, sameer.abuasal, evandro, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D82913
      d36f2c6a
    • Luís Marques's avatar
      [RISCV] Temporarily move riscv-expand-pseudo pass to PreEmitPass2 · b2aa546b
      Luís Marques authored
      The pass to split atomic and non-atomic RISC-V pseudo-instructions was itself
      split into two passes in D79635 / commit rG2cb0644f, with the splitting of
      non-atomic instructions being moved to the PreSched2 phase. A comment was
      added to D79635 detailing a case where this caused problems, so this commit
      moves the non-atomic split pass back to the PreEmitPass2 phase. This allows
      the bulk of the changes from D79635 to remain committed, while addressing the
      the reported problem (the pass split is now almost NFC). Once the root problem
      is fixed we can move the (non-atomic) instruction splitting pass back to
      earlier in the pipeline.
      b2aa546b
    • Raphael Isemann's avatar
      [lldb] Replace StringConvert with llvm::to_integer when parsing integer values in CommandObjects · 9010cef2
      Raphael Isemann authored
      Summary:
      
      This replaces the current use of LLDB's own `StringConvert` with LLVM's
      `to_integer` which has a less error-prone API and doesn't use special 'error
      values' to designate parsing problems.
      
      Where needed I also added missing error handling code that prints a parsing
      error instead of continuing with the error value returned from `StringConvert`
      (which either gave a cryptic error message or just took the error value
      performed an incorrect action with it. For example, `frame recognizer delete -1`
      just deleted the frame recognizer at index 0).
      
      Reviewers: #lldb, labath
      
      Reviewed By: labath
      
      Subscribers: labath, abidh, JDevlieghere
      
      Differential Revision: https://reviews.llvm.org/D82297
      9010cef2