[AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 26 Jan 2021 16:09:27 +0000 (16:09 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 26 Jan 2021 16:09:39 +0000 (16:09 +0000)
commitf82cff31d35d77510e00dab5c772db8b013497ee
tree481a557e3e8484c67270919a634406ad0d45340f
parent0c0d009a88f25e9b647c50b54672b30001fabbbb
[AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI.

Removes an unnecessary chain of StringRef -> std::string -> StringRef conversions
llvm/include/llvm/Support/AMDGPUMetadata.h
llvm/lib/Support/AMDGPUMetadata.cpp
llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp