[PATCH] D145238: [NVPTX] Expose LDU builtins
Jakub Chlanda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 3 06:13:00 PST 2023
jchlanda created this revision.
jchlanda added a reviewer: tra.
Herald added subscribers: mattd, gchakrabarti, asavonic.
Herald added a project: All.
jchlanda requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, jholewinski.
Herald added projects: clang, LLVM.
Also check if native half types are supported to give more descriptive error message, without it clang only reports incorrect intrinsic return type.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145238
Files:
clang/include/clang/Basic/BuiltinsNVPTX.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
clang/test/CodeGen/builtins-nvptx-native-half-type.c
clang/test/CodeGen/builtins-nvptx.c
llvm/test/CodeGen/NVPTX/ldu-ldg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145238.502113.patch
Type: text/x-patch
Size: 15621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230303/eaa7375c/attachment.bin>
More information about the cfe-commits
mailing list