[LLVMdev] Bug in MachineInstr::isIdenticalTo
Chris Lattner
clattner at apple.com
Tue Jan 4 13:32:07 PST 2011
On Jan 4, 2011, at 12:13 PM, Villmow, Micah wrote:
>> I think you would be better off encoding the store size in the opcode.
>>
> [Villmow, Micah] While it might be nice, this would cause massive instruction opcode bloat. I already have over 500 load/store opcodes and storing the size in the instruction would probably triple or quadruple this amount. So not encoding it in the opcode is a decision to lower the amount of opcodes required.
Jakob is right in this instance. If you don't want to encode this in the *opcode* you can always add it as an imm operand to the instruction, avoiding bloat.
-Chris
More information about the llvm-dev
mailing list