[PATCH] D48617: [Builtins][Attributes][X86] Tag all X86 builtins with their required vector width. Add a min_vector_width function attribute and tag all x86 instrinsics with it.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 2 12:04:43 PDT 2018
craig.topper added inline comments.
================
Comment at: include/clang/Basic/Attr.td:1949
+ let Args = [UnsignedArgument<"VectorWidth">];
+ let Subjects = SubjectList<[Function], ErrorDiag>;
+ let Documentation = [Undocumented];
----------------
aaron.ballman wrote:
> Should this apply to Objective-C methods? What about other function-like interfaces such as function pointers?
I think maybe it should apply to objective-C. but I"m not sure because it doesn't look like the target attribute applies there?
https://reviews.llvm.org/D48617
More information about the cfe-commits
mailing list