Displaying 2 results from an estimated 2 matches for "6b7396ac".
2014 Jul 31
2
[LLVMdev] Tablegen binary literals
Hi all
Currently tablegen parses binary literals such as 0b011 and immediately turns them in to integers internally. Due to this, 0b011 is a 2-bit value because tablegen will happily drop leading zeroes on integers.
I propose that we change this, and store binary literals with a size. I think this is much more natural, as when the user writes a value with 3 bits, I think they expect to get a
2014 Jul 31
5
[LLVMdev] Tablegen binary literals
...er bits<n> type.
Thanks,
Pete
> I.e. I don’t think we currently accept:
>
> bits<4> x = { opc, opc }
>
> Thanks,
> Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140730/6b7396ac/attachment.html>