[llvm] r336853 - AMDGPU: Remove duplicate call to initializeSubtargetDependencies()

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 14:12:04 PDT 2018


Author: tstellar
Date: Wed Jul 11 14:12:03 2018
New Revision: 336853

URL: http://llvm.org/viewvc/llvm-project?rev=336853&view=rev
Log:
AMDGPU: Remove duplicate call to initializeSubtargetDependencies()

This was added in r336851.

Modified:
    llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp?rev=336853&r1=336852&r2=336853&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp Wed Jul 11 14:12:03 2018
@@ -217,7 +217,6 @@ GCNSubtarget::GCNSubtarget(const Triple
   RegBankInfo.reset(new AMDGPURegisterBankInfo(*getRegisterInfo()));
   InstSelector.reset(new AMDGPUInstructionSelector(
   *this, *static_cast<AMDGPURegisterBankInfo *>(RegBankInfo.get()), TM));
-  initializeSubtargetDependencies(TT, GPU, FS);
 }
 
 unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(unsigned NWaves,




More information about the llvm-commits mailing list