[PATCH] D53023: Prototype OpenCL BIFs using Tablegen
Nicola Zaghen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 2 07:26:14 PST 2019
Nicola added a comment.
Since this review is just for a prototype, I'll leave some feedback after having played with it for a bit.
It seems to be quite trivial to add new builtins and fix existing ones (conversion builtins sat/rounding modes). One builtin that might have a small issue is the as_type builtin in which source and destination type need to have the same bitwidth. To get that to work I ended up patching TableGen to add !mul support for it (and set VectorSize to 1 for scalars).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53023/new/
https://reviews.llvm.org/D53023
More information about the cfe-commits
mailing list