[llvm] r243501 - Fix broken ArrayRef conversion from r243497.
Alex Lorenz
arphaman at gmail.com
Tue Jul 28 16:34:27 PDT 2015
Author: arphaman
Date: Tue Jul 28 18:34:27 2015
New Revision: 243501
URL: http://llvm.org/viewvc/llvm-project?rev=243501&view=rev
Log:
Fix broken ArrayRef conversion from r243497.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp?rev=243501&r1=243500&r2=243501&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp Tue Jul 28 18:34:27 2015
@@ -371,5 +371,5 @@ AMDGPUInstrInfo::getSerializableTargetIn
{AMDGPU::TI_SCRATCH_RSRC_DWORD1, "amdgpu-scratch-rsrc-dword1"},
{AMDGPU::TI_SCRATCH_RSRC_DWORD2, "amdgpu-scratch-rsrc-dword2"},
{AMDGPU::TI_SCRATCH_RSRC_DWORD3, "amdgpu-scratch-rsrc-dword3"}};
- return TargetIndices;
+ return makeArrayRef(TargetIndices);
}
More information about the llvm-commits
mailing list