In http://reviews.llvm.org/D9697#184235, @LukeCheeseman wrote:

> Is this acceptable? I believe those kinds of errors are for invalid user 
> input. I couldn't think of way to check the possible strings in the semantic 
> checking that would avoid bringing most of the logic into the frontend and so 
> was wondering if you had any suggestions on the matter.


Unfortunately, yes. There is currently no way of knowing what register names 
are available in Clang, which would need a Target Description that doesn't need 
all back-ends to be built (work in progress). For now, having that error in the 
back-end is the only way we can do, so it's acceptable.

cheers,
--renato


http://reviews.llvm.org/D9697

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to