diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp b/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp index 45eb6c321476..6bbc8c315718 100644 --- a/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp +++ b/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp @@ -29,7 +29,7 @@ static ArrayRef<StringRef> get_amd_kernel_code_t_FldNames() { #include "AMDKernelCodeTInfo.h" #undef RECORD }; - return makeArrayRef(Table); + return ArrayRef(Table); } static ArrayRef<StringRef> get_amd_kernel_code_t_FldAltNames() { @@ -39,7 +39,7 @@ static ArrayRef<StringRef> get_amd_kernel_code_t_FldAltNames() { #include "AMDKernelCodeTInfo.h" #undef RECORD }; - return makeArrayRef(Table); + return ArrayRef(Table); } static StringMap<int> createIndexMap(const ArrayRef<StringRef> &names, @@ -47,8 +47,8 @@ static StringMap<int> createIndexMap(const ArrayRef<StringRef> &names, StringMap<int> map; assert(names.size() == altNames.size()); for (unsigned i = 0; i < names.size(); ++i) { - map.insert(std::make_pair(names[i], i)); - map.insert(std::make_pair(altNames[i], i)); + map.insert(std::pair(names[i], i)); + map.insert(std::pair(altNames[i], i)); } return map; } @@ -90,7 +90,7 @@ static ArrayRef<PrintFx> getPrinterTable() { #include "AMDKernelCodeTInfo.h" #undef RECORD }; - return makeArrayRef(Table); + return ArrayRef(Table); } void llvm::printAmdKernelCodeField(const amd_kernel_code_t &C, @@ -160,7 +160,7 @@ static ArrayRef<ParseFx> getParserTable() { #include "AMDKernelCodeTInfo.h" #undef RECORD }; - return makeArrayRef(Table); + return ArrayRef(Table); } bool llvm::parseAmdKernelCodeField(StringRef ID, |