[llvm] 0c804da - [AMDGPU][True16] turn on true16 for all gfx11 devices (#143518)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 08:43:40 PDT 2025
Author: Brox Chen
Date: 2025-07-21T11:43:37-04:00
New Revision: 0c804da4eaf72969e338ed5619c41e038e1bdf35
URL: https://github.com/llvm/llvm-project/commit/0c804da4eaf72969e338ed5619c41e038e1bdf35
DIFF: https://github.com/llvm/llvm-project/commit/0c804da4eaf72969e338ed5619c41e038e1bdf35.diff
LOG: [AMDGPU][True16] turn on true16 for all gfx11 devices (#143518)
A follow up patch from https://github.com/llvm/llvm-project/pull/140736.
Set default true16 mode from gfx110x to all gfx11 devices.
Tests has been address in preivous patches.
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPU.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.td b/llvm/lib/Target/AMDGPU/AMDGPU.td
index 0e0e83b7a6b54..6076ac4596655 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPU.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPU.td
@@ -1848,7 +1848,8 @@ def FeatureISAVersion11_Common : FeatureSet<
FeatureImageInsts,
FeaturePackedTID,
FeatureVcmpxPermlaneHazard,
- FeatureMemoryAtomicFAddF32DenormalSupport]>;
+ FeatureMemoryAtomicFAddF32DenormalSupport,
+ FeatureRealTrue16Insts]>;
// There are few workarounds that need to be
// added to all targets. This pessimizes codegen
@@ -1868,8 +1869,7 @@ def FeatureISAVersion11_0_Common : FeatureSet<
[FeatureMSAALoadDstSelBug,
FeatureVALUTransUseHazard,
FeatureMADIntraFwdBug,
- FeaturePrivEnabledTrap2NopBug,
- FeatureRealTrue16Insts])>;
+ FeaturePrivEnabledTrap2NopBug])>;
def FeatureISAVersion11_0_0 : FeatureSet<
!listconcat(FeatureISAVersion11_0_Common.Features,
More information about the llvm-commits
mailing list