commit | 4a6d735105ffac5f58499ef5a5de8713b458b233 | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Fri Mar 11 02:19:02 2011 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Fri Mar 11 02:19:02 2011 +0000 |
tree | ad4e2d200aea58d68c8bc43b33221dddff7a0d55 | |
parent | 109d6dbe50753f102566cd4895b69fd13f62efa4 [diff] |
Teach TableGen to pre-calculate register enum values when creating the CodeGenRegister entries. Use this information to more intelligently build the literal register entires in the DAGISel matcher table. Specifically, use a single-byte OPC_EmitRegister entry for registers with a value of less than 256 and OPC_EmitRegister2 entry for registers with a larger value. rdar://9066491 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127456 91177308-0d34-0410-b5e6-96231b3b80d8