https://github.com/davemgreen commented:

> LGTM. The main change to point out is that the target attribute will no 
> longer accept internal feature names. I don't think it should ever have done 
> so, but we should get input from others. @davemgreen? There are references to 
> existing code in [D137617](https://reviews.llvm.org/D137617) but no details. 
> If this has been used for e.g. intrinsics definitions, I am surprised there 
> are not more test failures.

Hi - It was intentional to support older versions of clang. The target 
attributes already had users before I fixed them to support the same formats as 
GCC for AArch64, and was aiming at not breaking the existing code. IIRC There 
are quite a few uses of things like `target("crypto")` out there (without the + 
that gcc wants to include).

I'm not sure if that extends to internal feature names a lot. Not supporting 
"neon" as a name would seem like a mistake if it was removed, but I don't 
believe this patch does that. If it only effects negative features those have 
never worked particularly well.

https://github.com/llvm/llvm-project/pull/94279
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to