<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Just a quick heads up, the first builtins have been implemented in Clang:</div><div class=""><br class=""></div><span class="">* _builtin_elementwise_abs <a href="https://reviews.llvm.org/rG01870d51b848" class="">https://reviews.llvm.org/rG01870d51b848</a></span><div class=""><div class="">* _builtin_elementwise_max, _builtin_elementwise_min <a href="https://reviews.llvm.org/rG1ef25d28c19e" class="">https://reviews.llvm.org/rG1ef25d28c19e</a></div>* _builtin_reduce_max, _builtin_reduce_min <a href="https://reviews.llvm.org/rG7999355106fb" class="">https://reviews.llvm.org/rG7999355106fb</a></div><div class=""><br class=""></div><div class="">I am planning on implementing the remaining ones at a leisurely pace. If anybody is interested in helping out, I created <a href="https://bugs.llvm.org/show_bug.cgi?id=52444" class="">https://bugs.llvm.org/show_bug.cgi?id=52444</a> to communicate and avoid duplicated work.<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Oct 22, 2021, at 12:17, Florian Hahn via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Oct 21, 2021, at 22:03, Simon Pilgrim via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br class=""><br class="">Sorry I'm late to the discussion (and thank you for working on this!) - I was wondering if you'd investigated making these builtins constexpr at all? Simon.<br class=""></blockquote><br class=""><br class="">So far I have not looked into making the builtins constexprs, but I think it would make a lot of sense. IIUC this would mostly be a question of whether someone is interested in implementing constexpr evaluation for the builtins in Clang :)<br class=""></blockquote><br class=""><br class=""></div><div class="">I filed <a href="https://bugs.llvm.org/show_bug.cgi?id=52445" class="">https://bugs.llvm.org/show_bug.cgi?id=52445</a> for constexpr support.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Florian</div></body></html>