https://bugs.llvm.org/show_bug.cgi?id=52444
Bug ID: 52444
Summary: [Clang] Implement missing elementwise & reduction
builtins.
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangb...@nondot.org
Reporter: florian_h...@apple.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
Clang recently specified a set of builtins for elementwise operations and
reductions on vectors:
https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins
At the moment, the following builtins are implemented:
* _builtin_elementwise_abs https://reviews.llvm.org/rG01870d51b848
* _builtin_elementwise_max, _builtin_elementwise_min
https://reviews.llvm.org/rG1ef25d28c19e
* _builtin_reduce_max, _builtin_reduce_min
https://reviews.llvm.org/rG7999355106fb
The patches above can serve as blueprint for adding other builtin.
I am more than happy to help with reviews and new contributors, if anybody is
interested.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs