[llvm] r316389 - AMDGPU: Initialize WavefrontSize from TD files
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 16:02:39 PDT 2017
Author: kzhuravl
Date: Mon Oct 23 16:02:39 2017
New Revision: 316389
URL: http://llvm.org/viewvc/llvm-project?rev=316389&view=rev
Log:
AMDGPU: Initialize WavefrontSize from TD files
Differential Revision: https://reviews.llvm.org/D39205
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
llvm/trunk/lib/Target/AMDGPU/Processors.td
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp?rev=316389&r1=316388&r2=316389&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp Mon Oct 23 16:02:39 2017
@@ -96,7 +96,7 @@ AMDGPUSubtarget::AMDGPUSubtarget(const T
TargetTriple(TT),
Gen(TT.getArch() == Triple::amdgcn ? SOUTHERN_ISLANDS : R600),
IsaVersion(ISAVersion0_0_0),
- WavefrontSize(64),
+ WavefrontSize(0),
LocalMemorySize(0),
LDSBankCount(0),
MaxPrivateElementSize(0),
Modified: llvm/trunk/lib/Target/AMDGPU/Processors.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/Processors.td?rev=316389&r1=316388&r2=316389&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/Processors.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/Processors.td Mon Oct 23 16:02:39 2017
@@ -13,7 +13,7 @@ class Proc<string Name, ProcessorItinera
// The code produced for "generic" is only useful for tests and cannot
// reasonably be expected to execute on any particular target.
def : ProcessorModel<"generic", NoSchedModel, [
- FeatureGCN
+ FeatureGCN, FeatureWavefrontSize64
]>;
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list