Limit the number of memory operands in MachineInstr to 2^16 and store the number...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 16 Mar 2012 16:39:27 +0000 (16:39 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 16 Mar 2012 16:39:27 +0000 (16:39 +0000)
commit861ea230a7841fe4ccc8a1cd5460354e59aeed3c
treedc1d0b4bf534d54dd05fcdad47df911b8530c400
parent87f3dbc446181dc5b1c525bd28ca89760f63bc76
Limit the number of memory operands in MachineInstr to 2^16 and store the number in padding.

Saves one machine word on MachineInstr (88->80 bytes on x86_64, 48->44 on i386).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152930 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp