[PATCH] D55710: add pragmas to control Software Pipelining optimisation
Alexey Lapshin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 3 11:42:11 PST 2019
alexey.lapshin marked an inline comment as done.
alexey.lapshin added inline comments.
================
Comment at: test/Sema/pragma-pipeline.cpp:3
+
+#pragma clang loop pipeline(disable) /* expected-error {{expected unqualified-id}} */
+int main() {
----------------
aaron.ballman wrote:
> I think this error is pretty unfortunate -- it doesn't really help the user to understand what's wrong with their code. Can it be improved?
Agreed, this does not look very informative. It surely can be improved. Though it looks like not related to my fix. My fix is to add two additional loop hints. That kind of diagnostic related to all loop hints "clang loop". I.e. all pragmas "clang loop" can be checked for various cases and for better diagnostic. It looks like separate task. But OK, I will check that case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55710/new/
https://reviews.llvm.org/D55710
More information about the cfe-commits
mailing list