_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Before addressing the CHECK-NOT case, I’m still unclear about the DAG case.
What should the first DAG line match? The regex matching would first attempt to match “10 12” but the expression evaluation would fail; so the DAG candidate wouldn’t match; does this mean the DAG matching does not continue searching, and the test fails? Or would we restart the search…. where? With “0 12” (skipping only one character from the previous fail)? In that case it would ultimately match “12 13” from the first line. Or would it skip the entire previous candidate, and start searching at “ 13”? In which case it would ultimately match “10 11” on the second line.
In any case (if the first DAG ultimately matches something), the third DAG line would match the first previously unmatched text in the DAG search range, which would be either “10 “ or “10 12 13” from the first line, depending on the answer to the previous paragraph.
--paulr
Any kind of variable definition on a CHECK-NOT line would seem like it would be asking for trouble. Do we allow text variable definitions on a NOT?
False fails are better than false matches. Given that it will fail on a line where you’d expect a match, or possibly for the line to be skipped, it’s a matter of refining the match expression, which is something that you have to do sometimes anyway. The two-level matching process (regex first, evaluation later) might be surprising to people, and I’d hope the diagnostic would give a hint in that direction.
--paulr
** We have updated our privacy policy, which contains important information about how we collect and process your personal data. To read the policy, please click
here **
This email and its attachments are intended solely for the addressed recipients and may contain confidential or legally privileged information.
If you are not the intended recipient you must not copy, distribute or disseminate this email in any way; to do so may be unlawful.
Any personal data/special category personal data herein are processed in accordance with UK data protection legislation.
All associated feasible security measures are in place. Further details are available from the Privacy Notice on the website and/or from the Company.
Graphcore Limited (registered in England and Wales with registration number 10185006) is registered at 107 Cheapside, London, UK, EC2V 6DN.
This message was scanned for viruses upon transmission. However Graphcore accepts no liability for any such transmission.