[PATCH] D27304: [PATCH] [Sema][X86] Don't allow floating-point return types when SSE is disabled
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 1 12:38:01 PST 2016
hfinkel added a comment.
In https://reviews.llvm.org/D27304#610944, @thegameg wrote:
> In https://reviews.llvm.org/D27304#610697, @joerg wrote:
>
> > I think this is the absolutely wrong place to put such logic. It really can not be anywhere but the backend.
>
>
> I am aware of this. But the way the backend informs the Diagnostics looks like a crash, and asks for a bug report.
>
> Are there any proper ways to inform the frontend about backend errors?
Yes. Look at how we report inline asm errors, etc. grep for DiagnosticInfoStackSize (used in PEI) or DiagnosticInfoResourceLimit (used by the AMDGPU backend).
https://reviews.llvm.org/D27304
More information about the cfe-commits
mailing list