[llvm-commits] [PATCH] Add Pattern ID Information

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Fri Aug 5 16:39:25 PDT 2011


> [Villmow, Micah] That is not really feasible to add an extra operand to
> hundreds of instructions when there is already a location that store the
> 15 bits of information that is needed(8 in flags, 7 in AsmPrinterFlags).

You can always add a new operand doing a concatenation with the other
operands in the class which the instruction inherits from, I suppose if you
have hundreds of instructions, you probably have classes to abstract comon
info, right? ARM does this for predicates.


-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc



More information about the llvm-commits mailing list