aaron.ballman added inline comments.
================
Comment at: clang/include/clang/Basic/AttrDocs.td:1323-1344
+def ShuffleDocs : Documentation {
+ let Category = DocCatFunction;
+ let Content = [{
+The ``shuffle`` attribute can be placed on a function declaration. It indicates
+that the call instructions of a function with this attribute can take undef
+arguments and is still valid.
+
----------------
This sounds highly specific to those language standards and like an expert-only
feature that's going to be a footgun for everyone else. Is there a way these
special functions can be identified at codegen time (or within the backend) so
that we don't have to expose an attribute for this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125378/new/
https://reviews.llvm.org/D125378
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits