[PATCH] [Clang - ARM/AArch64] Add ACLE special register intrinsics (10.1)
Renato Golin
renato.golin at linaro.org
Mon Jun 15 03:31:11 PDT 2015
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/
More information about the cfe-commits
mailing list