[PATCH] D106909: [clang] Add clang builtins support for gfx90a
Anshil Gandhi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 4 09:13:10 PDT 2021
gandhi21299 added inline comments.
================
Comment at: clang/include/clang/Basic/BuiltinsAMDGPU.def:201
+TARGET_BUILTIN(__builtin_amdgcn_global_atomic_fadd_f32, "ff*1f", "t", "gfx90a-insts")
+TARGET_BUILTIN(__builtin_amdgcn_global_atomic_fadd_v2f16, "V2hV2h*1V2h", "t", "gfx90a-insts")
+TARGET_BUILTIN(__builtin_amdgcn_global_atomic_fmin_f64, "dd*1d", "t", "gfx90a-insts")
----------------
I tried add target feature gfx908-insts for this builtin but the frontend complains that it should have target feature gfx90a-insts.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106909/new/
https://reviews.llvm.org/D106909
More information about the cfe-commits
mailing list