<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/utils/UpdateTestChecks, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-02T17:17:37+00:00</updated>
<entry>
<title>update_test_checks: match CHECK-EMPTY lines for replacement.</title>
<updated>2020-01-02T17:17:37+00:00</updated>
<author>
<name>James Y Knight</name>
<email>jyknight@google.com</email>
</author>
<published>2019-12-21T22:18:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b747607bec4f50b6b6259fe6aa38b9d9e870d84b'/>
<id>urn:sha1:b747607bec4f50b6b6259fe6aa38b9d9e870d84b</id>
<content type='text'>
In a8a89c77ea3c16b45763fca6940bbfd3bef7884f, the script started adding
CHECK-EMPTY lines, but the regex for which lines to replace was not
updated.
</content>
</entry>
<entry>
<title>[Utils] Deal with occasionally deleted functions</title>
<updated>2019-12-31T08:35:18+00:00</updated>
<author>
<name>Johannes Doerfert</name>
<email>johannes@jdoerfert.de</email>
</author>
<published>2019-10-11T01:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a6c59e0792edc46df937b338fe0e68d00cabf90b'/>
<id>urn:sha1:a6c59e0792edc46df937b338fe0e68d00cabf90b</id>
<content type='text'>
When functions exist for some but not all run lines we need to be
careful when selecting the prefix. So far, a common prefix was
potentially chosen as there was never a "conflict" that would have
caused otherwise. With this patch we avoid common prefixes if they
are used by run lines that do not emit the function.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D68850
</content>
</entry>
<entry>
<title>[Utils] Reuse argument variable names in the body</title>
<updated>2019-12-31T07:58:36+00:00</updated>
<author>
<name>Johannes Doerfert</name>
<email>johannes@jdoerfert.de</email>
</author>
<published>2019-11-01T17:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=be26bd55130b6b13c40d0cf0ba97bf5cf3197487'/>
<id>urn:sha1:be26bd55130b6b13c40d0cf0ba97bf5cf3197487</id>
<content type='text'>
If we have `int foo(int a) { return a; }` and we run with --function-signature
enabled, we want a single variable declaration for `a` which is reused
later.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D69722
</content>
</entry>
<entry>
<title>[Utils] Allow update_test_checks to scrub attribute annotations</title>
<updated>2019-12-31T07:51:22+00:00</updated>
<author>
<name>Johannes Doerfert</name>
<email>johannes@jdoerfert.de</email>
</author>
<published>2019-10-11T01:32:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=70771d8b9e8dba857bce39eee8f5d10ecc17d00f'/>
<id>urn:sha1:70771d8b9e8dba857bce39eee8f5d10ecc17d00f</id>
<content type='text'>
Attribute annotations on calls, e.g., #0, are not useful on their own.
This patch adds a flag to update_test_checks.py to scrub them.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D68851
</content>
</entry>
<entry>
<title>[UpdateTestChecks] Fix parsing of RUN: lines with line continuations</title>
<updated>2019-12-03T08:24:48+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2019-12-03T08:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c246d6e536c7112019cba6cfc764daeb9088ef29'/>
<id>urn:sha1:c246d6e536c7112019cba6cfc764daeb9088ef29</id>
<content type='text'>
I accidentally broke this in d9542db49e90457de62af3bfe395aaf4c47b68a5 due
to incorrectly placed parentheses.
</content>
</entry>
<entry>
<title>[update_cc_test_checks.py] Use CHECK_RE from common</title>
<updated>2019-12-02T18:18:47+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2019-12-02T18:18:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3b55eebd239ee7d518a95ca9ecccf879b17d7e8c'/>
<id>urn:sha1:3b55eebd239ee7d518a95ca9ecccf879b17d7e8c</id>
<content type='text'>
Summary:
This change modifies the common.CHECK_RE regex to also handle '//'
comment prefixes which allows us to share it between clang and IR tests.
Using the regex from common means that *-SAME lines are also stripped
now. Before this change using the --function-signature flag would result
in -SAME: lines from previous runs not being removed.

Reviewers: MaskRay, jdoerfert

Reviewed By: jdoerfert

Subscribers: jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70890
</content>
</entry>
<entry>
<title>[UpdateTestChecks] Share the code to parse RUN: lines between all scripts</title>
<updated>2019-12-02T11:06:30+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2019-12-02T10:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d9542db49e90457de62af3bfe395aaf4c47b68a5'/>
<id>urn:sha1:d9542db49e90457de62af3bfe395aaf4c47b68a5</id>
<content type='text'>
Summary:
This commit also introduces a common.debug() function to avoid many
`if args.verbose:` statements. Depends on D70428.

Reviewers: xbolva00, MaskRay, jdoerfert

Reviewed By: MaskRay

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70432
</content>
</entry>
<entry>
<title>[UptestTestChecks][NFC] Share some common command line options code</title>
<updated>2019-11-20T13:23:26+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2019-11-20T13:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6187394dd05ea20db01370b1990a79d517d98f7e'/>
<id>urn:sha1:6187394dd05ea20db01370b1990a79d517d98f7e</id>
<content type='text'>
Summary:
Add a function common.parse_commandline_args() that adds options common
to all tools (--verbose and --update-only) and returns the parsed
commandline arguments. I plan to use the shared parsing of --verbose in a
follow-up commit to remove most of the `if args.verbose:` checks in the
scripts.

Reviewers: xbolva00, MaskRay

Reviewed By: MaskRay

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70428
</content>
</entry>
<entry>
<title>[Utils] Hide the default behavior change of D68819 under a flag</title>
<updated>2019-11-01T16:34:00+00:00</updated>
<author>
<name>Johannes Doerfert</name>
<email>johannes@jdoerfert.de</email>
</author>
<published>2019-11-01T16:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e67f6477fd1ed29acbeddf8482c25d8db826912f'/>
<id>urn:sha1:e67f6477fd1ed29acbeddf8482c25d8db826912f</id>
<content type='text'>
With D69701, the options used when running the script on a file will be
recorded and reused on a rerun. This allows us to hide new features
behind flags, starting with the "define" that was introduced in D68819.
</content>
</entry>
<entry>
<title>[utils] Reflow asm check generation to tolerate blank lines</title>
<updated>2019-11-01T06:42:48+00:00</updated>
<author>
<name>Simon Atanasyan</name>
<email>simon@atanasyan.com</email>
</author>
<published>2019-10-30T16:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a8a89c77ea3c16b45763fca6940bbfd3bef7884f'/>
<id>urn:sha1:a8a89c77ea3c16b45763fca6940bbfd3bef7884f</id>
<content type='text'>
This change introduces two fixes. The second fix allows to generate
a test to check the first fix.

- Output `CHECK-EMPTY` prefix for an empty line in ASM output. Before that
  fix `update_llc_test_checks.py` incorrectly emits `CHECK-NEXT: &lt;space&gt;`
  prefix.
- Fix the `ASM_FUNCTION_MIPS_RE` regex to stop on a real function
  epilogue not on an inline assembler prologue and include inline
  assembler code into a test.

Differential Revision: https://reviews.llvm.org/D47192
</content>
</entry>
</feed>
