diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2022-07-15 13:20:08 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2022-07-18 11:48:43 -0700 |
commit | 9fa5a6b7e8a292ec91b844a622836d2990ef5796 (patch) | |
tree | b248aded4fddfc7c7342c299460a2e0ba57f2685 /clang/lib | |
parent | 30e53b8c03d382fe9d2299189deebacbf97abe9f (diff) | |
download | llvm-9fa5a6b7e8a292ec91b844a622836d2990ef5796.zip llvm-9fa5a6b7e8a292ec91b844a622836d2990ef5796.tar.gz llvm-9fa5a6b7e8a292ec91b844a622836d2990ef5796.tar.bz2 |
[AMDGPU] Support for gfx940 fp8 conversions
Differential Revision: https://reviews.llvm.org/D129902
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Basic/Targets/AMDGPU.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets/AMDGPU.cpp b/clang/lib/Basic/Targets/AMDGPU.cpp index 50256d8..80f2601 100644 --- a/clang/lib/Basic/Targets/AMDGPU.cpp +++ b/clang/lib/Basic/Targets/AMDGPU.cpp @@ -250,6 +250,7 @@ bool AMDGPUTargetInfo::initFeatureMap( break; case GK_GFX940: Features["gfx940-insts"] = true; + Features["fp8-insts"] = true; LLVM_FALLTHROUGH; case GK_GFX90A: Features["gfx90a-insts"] = true; |