<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/TableGen, branch release_33</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/TableGen?h=release_33</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/TableGen?h=release_33'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-03-24T19:36:51Z</updated>
<entry>
<title>Allow TableGen DAG arguments to be just a name.</title>
<updated>2013-03-24T19:36:51Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2013-03-24T19:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=4717fd4c0faf454ff37f133709320d0cfec0da89'/>
<id>urn:sha1:4717fd4c0faf454ff37f133709320d0cfec0da89</id>
<content type='text'>
DAG arguments can optionally be named:

  (dag node, node:$name)

With this change, the node is also optional:

  (dag node, node:$name, $name)

The missing node is treated as an UnsetInit, so the above is equivalent
to:

  (dag node, node:$name, ?:$name)

This syntax is useful in output patterns where we currently require the
types of variables to be repeated:

  def : Pat&lt;(subc i32:$b, i32:$c), (SUBCCrr i32:$b, i32:$c)&gt;;

This is preferable:

  def : Pat&lt;(subc i32:$b, i32:$c), (SUBCCrr $b, $c)&gt;;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177843 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>FileCheck-ify some grep tests</title>
<updated>2013-01-25T22:11:46Z</updated>
<author>
<name>Reid Kleckner</name>
<email>reid@kleckner.net</email>
</author>
<published>2013-01-25T22:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=ce98f09f539b09c2565bc6f7608e430fd190a1cc'/>
<id>urn:sha1:ce98f09f539b09c2565bc6f7608e430fd190a1cc</id>
<content type='text'>
These tests in particular try to use escaped square brackets as an
argument to grep, which is failing for me with native win32 python.  It
appears the backslash is being lost near the CreateProcess*() call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173506 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Improve the !add TableGen test case.</title>
<updated>2013-01-25T20:29:25Z</updated>
<author>
<name>Hal Finkel</name>
<email>hfinkel@anl.gov</email>
</author>
<published>2013-01-25T20:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=4f070b0fe0a8c07137789d8cb5b2c087b62ad1f5'/>
<id>urn:sha1:4f070b0fe0a8c07137789d8cb5b2c087b62ad1f5</id>
<content type='text'>
Suggested by Sean Silva.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173481 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add an addition operator to TableGen</title>
<updated>2013-01-25T14:49:08Z</updated>
<author>
<name>Hal Finkel</name>
<email>hfinkel@anl.gov</email>
</author>
<published>2013-01-25T14:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d23a41c153712b929bd84f5e713bda5db5d6e66d'/>
<id>urn:sha1:d23a41c153712b929bd84f5e713bda5db5d6e66d</id>
<content type='text'>
This adds an !add(a, b) operator to tablegen; this will be used
to cleanup the PPC register definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173445 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix typo, which prevent test from being check.</title>
<updated>2012-12-12T21:10:56Z</updated>
<author>
<name>Jakub Staszak</name>
<email>kubastaszak@gmail.com</email>
</author>
<published>2012-12-12T21:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=6b0f123b8970e4ca25fbc278992e8ef95daf217f'/>
<id>urn:sha1:6b0f123b8970e4ca25fbc278992e8ef95daf217f</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170025 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak.</title>
<updated>2012-12-11T13:14:16Z</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2012-12-11T13:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f38833c7adbdc58b8862835b22b0859c00e6796c'/>
<id>urn:sha1:f38833c7adbdc58b8862835b22b0859c00e6796c</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169862 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Re-work bit/bits value resolving in tblgen</title>
<updated>2012-09-06T23:32:48Z</updated>
<author>
<name>Michael Liao</name>
<email>michael.liao@intel.com</email>
</author>
<published>2012-09-06T23:32:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=307525cd24c3b9c081ddb3c34a3418f2875cd556'/>
<id>urn:sha1:307525cd24c3b9c081ddb3c34a3418f2875cd556</id>
<content type='text'>
- This patch is inspired by the failure of the following code snippet
  which is used to convert enumerable values into encoding bits to
  improve the readability of td files.

  class S&lt;int s&gt; {
    bits&lt;2&gt; V = !if(!eq(s, 8),  {0, 0},
                !if(!eq(s, 16), {0, 1},
                !if(!eq(s, 32), {1, 0},
                !if(!eq(s, 64), {1, 1}, {?, ?}))));
  }

  Later, PR8330 is found to report not exactly the same bug relevant
  issue to bit/bits values.

- Instead of resolving bit/bits values separately through
  resolveBitReference(), this patch adds getBit() for all Inits and
  resolves bit value by resolving plus getting the specified bit. This
  unifies the resolving of bit with other values and removes redundant
  logic for resolving bit only. In addition,
  BitsInit::resolveReferences() is optimized to take advantage of this
  origanization by resolving VarBitInit's variable reference first and
  then getting bits from it.

- The type interference in '!if' operator is revised to support possible
  combinations of int and bits/bit in MHS and RHS.

- As there may be illegal assignments from integer value to bit, says
  assign 2 to a bit, but we only check this during instantiation in some
  cases, e.g.

  bit V = !if(!eq(x, 17), 0, 2);

  Verbose diagnostic message is generated when invalid value is
  resolveed to help locating the error.

- PR8330 is fixed as well.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163360 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Convert all tests using TCL-style quoting to use shell-style quoting.</title>
<updated>2012-07-02T12:47:22Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-07-02T12:47:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=4177e6fff50552908bab510f1e896fa974a6f155'/>
<id>urn:sha1:4177e6fff50552908bab510f1e896fa974a6f155</id>
<content type='text'>
This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.

If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.

Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.

Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -&gt; 24s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159525 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add support for range expressions in TableGen foreach loops.</title>
<updated>2012-05-24T22:17:39Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2012-05-24T22:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=fae8b1de47c004fefaa6c2683ae193d465b9d93f'/>
<id>urn:sha1:fae8b1de47c004fefaa6c2683ae193d465b9d93f</id>
<content type='text'>
Like this:

  foreach i = 0-127 in ...

Use braces for composite ranges:

  foreach i = {0-3,9-7} in ...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157432 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Don't put TGParser scratch results in the output.</title>
<updated>2012-05-24T22:17:36Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2012-05-24T22:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=72cba6cdf640411e2fb6207858a0abd87c4286fc'/>
<id>urn:sha1:72cba6cdf640411e2fb6207858a0abd87c4286fc</id>
<content type='text'>
Only fully expanded Records should go into RecordKeeper.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157431 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
