On 16 Oct 2015, at 01:47, Eric Christopher via cfe-commits 
<cfe-commits@lists.llvm.org> wrote:
> 
> Author: echristo
> Date: Thu Oct 15 18:47:11 2015
> New Revision: 250473
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=250473&view=rev
> Log:
> Add an error when calling a builtin that requires features that don't
> match the feature set of the function that they're being called from.
...
> +def err_builtin_needs_feature : Error<"%0 needs target feature %1">;

Thanks.  Note, a typical error message now becomes something pretty terse, like 
this:

'__builtin_foo' needs target feature bar

It would be helpful if the error message gave some sort of hint on what the 
actual problem is (wrong -march parameter, probably?), and how to fix it.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to