[all-commits] [llvm/llvm-project] f82cff: [AMDGPU] HSAMD::fromString - replace std::string a...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jan 26 08:16:04 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f82cff31d35d77510e00dab5c772db8b013497ee
      https://github.com/llvm/llvm-project/commit/f82cff31d35d77510e00dab5c772db8b013497ee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Support/AMDGPUMetadata.h
    M llvm/lib/Support/AMDGPUMetadata.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp

  Log Message:
  -----------
  [AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI.

Removes an unnecessary chain of StringRef -> std::string -> StringRef conversions




More information about the All-commits mailing list