[PATCH] D24276: AMDGPU : Add XNACK feature to GPUs that support it.
Wei Ding via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 6 13:03:46 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL280742: AMDGPU : Add XNACK feature to GPUs that support it. (authored by wdng).
Changed prior to commit:
https://reviews.llvm.org/D24276?vs=70455&id=70460#toc
Repository:
rL LLVM
https://reviews.llvm.org/D24276
Files:
llvm/trunk/lib/Target/AMDGPU/Processors.td
llvm/trunk/test/CodeGen/AMDGPU/flat-scratch-reg.ll
Index: llvm/trunk/test/CodeGen/AMDGPU/flat-scratch-reg.ll
===================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/flat-scratch-reg.ll
+++ llvm/trunk/test/CodeGen/AMDGPU/flat-scratch-reg.ll
@@ -1,6 +1,7 @@
; RUN: llc -march=amdgcn -mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=NOXNACK -check-prefix=CI -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mcpu=fiji -verify-machineinstrs < %s | FileCheck -check-prefix=NOXNACK -check-prefix=VI -check-prefix=GCN %s
-; RUN: llc -march=amdgcn -mcpu=carrizo -mattr=+xnack -verify-machineinstrs < %s | FileCheck -check-prefix=XNACK -check-prefix=VI -check-prefix=GCN %s
+; RUN: llc -march=amdgcn -mcpu=carrizo -verify-machineinstrs < %s | FileCheck -check-prefix=XNACK -check-prefix=VI -check-prefix=GCN %s
+; RUN: llc -march=amdgcn -mcpu=stoney -verify-machineinstrs < %s | FileCheck -check-prefix=XNACK -check-prefix=VI -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mtriple=amdgcn--amdhsa -mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=CI -check-prefix=NOXNACK -check-prefix=HSA-NOXNACK -check-prefix=HSA -check-prefix=GCN %s
; RUN: llc -march=amdgcn -mtriple=amdgcn--amdhsa -mcpu=carrizo -mattr=-xnack -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=NOXNACK -check-prefix=HSA-NOXNACK -check-prefix=HSA -check-prefix=GCN %s
Index: llvm/trunk/lib/Target/AMDGPU/Processors.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/Processors.td
+++ llvm/trunk/lib/Target/AMDGPU/Processors.td
@@ -135,15 +135,15 @@
>;
def : ProcessorModel<"carrizo", SIQuarterSpeedModel,
- [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount32]
+ [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount32, FeatureXNACK]
>;
def : ProcessorModel<"fiji", SIQuarterSpeedModel,
[FeatureVolcanicIslands, FeatureISAVersion8_0_3, FeatureLDSBankCount32]
>;
def : ProcessorModel<"stoney", SIQuarterSpeedModel,
- [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount16]
+ [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount16, FeatureXNACK]
>;
def : ProcessorModel<"polaris10", SIQuarterSpeedModel,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24276.70460.patch
Type: text/x-patch
Size: 2257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160906/277a8bbc/attachment.bin>
More information about the llvm-commits
mailing list