[clang] [CIR][AMDGPU] Add support for AMDGCN tanh builtins (PR #197852)
Ayokunle Amodu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 14 18:01:20 PDT 2026
ayokunle321 wrote:
Hi @skc7,
When implementing __builtin_amdgcn_tanhf I got an error saying it needs the tanh-insts target feature — looks like this is only available on newer targets (gfx950+?). For the other builtins the tests are split across files by type (vi for half, generic for f32/f64, gfx1250 for bfloat16). Should the tanh tests follow that same split, or should they all live in the gfx1250 file since the feature is gated?
https://github.com/llvm/llvm-project/pull/197852
More information about the cfe-commits
mailing list