diff options
author | Brox Chen <guochen2@amd.com> | 2025-07-21 11:43:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-21 11:43:37 -0400 |
commit | 0c804da4eaf72969e338ed5619c41e038e1bdf35 (patch) | |
tree | e970afeab1b0d2b4e47a04a48768e6eb97fdeedd /llvm/lib | |
parent | 12a3afe47d4e5fcc97eb44271c00ace7cc8e4ff2 (diff) | |
download | llvm-0c804da4eaf72969e338ed5619c41e038e1bdf35.zip llvm-0c804da4eaf72969e338ed5619c41e038e1bdf35.tar.gz llvm-0c804da4eaf72969e338ed5619c41e038e1bdf35.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPU.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.td b/llvm/lib/Target/AMDGPU/AMDGPU.td index 0e0e83b..6076ac4 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, |