[PATCH][TableGen] Allow shift operators to take bits<n>
anemet at apple.com
Thu Jul 17 10:30:34 PDT 2014
This is much appreciated. There were 4 other patches dependent on this. Committed as r213277.
On Jul 17, 2014, at 7:19 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
>> From: "Adam Nemet" <anemet at apple.com>
>> To: "llvm-commits" <llvm-commits at cs.uiuc.edu>
>> Sent: Wednesday, July 16, 2014 7:51:42 PM
>> Subject: [PATCH][TableGen] Allow shift operators to take bits<n>
>> Convert the operand to int if possible, i.e. if the value is properly
>> initialized. (I suppose there is further room for improvement here to
>> perform the shift if the uninitialized bits are shifted out.)
>> With this little change we can now compute the scaling factor for
>> displacement with pure tablegen code in the X86 backend. This is
>> because both the X86-disassembler-specific part of tablegen and the
>> need this and TD is the natural sharing place.
>> The patch also adds the missing documentation for the shift and add
>> Does this look good?
> LGTM. Thanks!
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits