As we discussed earlier, Clang intrinsics table misses _nvvm buitins, what prevent frontend from recognizing them in the suppiled source code, e.g. nvvm/ci_include.h
The attached patch adds the list of intrinsics. Some of them are commented out, because backend does not implement them yet.
OK to commit?
clang.nvptx.builtins.patch (10.9 KB)