Pete Cooper
64a334da36
Change the { } expression in tablegen to accept sized binary literals which are not just 0 and 1.
...
It also allows nested { } expressions, as now that they are sized, we can merge pull bits from the nested value.
In the current behaviour, everything in { } must have been convertible to a single bit.
However, now that binary literals are sized, its useful to be able to initialize a range of bits.
So, for example, its now possible to do
bits<8> x = { 0, 1, { 0b1001 }, 0, 0b0 }
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215086 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-07 05:47:07 +00:00
..
2013-11-10 14:25:44 +00:00
2013-11-10 14:26:08 +00:00
2014-08-07 05:47:07 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:25:44 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2014-06-10 12:41:14 +00:00
2014-05-09 08:18:33 +00:00
2014-06-10 20:10:08 +00:00
2014-08-07 05:47:04 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:25:44 +00:00
2013-11-10 14:25:44 +00:00
2014-07-17 11:23:29 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2014-05-09 08:18:33 +00:00
2014-08-07 05:47:04 +00:00
2014-05-09 08:18:33 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2014-08-05 09:43:25 +00:00
2013-11-10 14:26:08 +00:00
2014-01-02 20:47:09 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:25:44 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2014-05-02 19:25:52 +00:00
2013-11-10 14:25:44 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-11-10 14:26:08 +00:00
2013-12-22 03:43:58 +00:00