using validateTargetOperandClass in llvm-mc

Vladimir Medic Vladimir.Medic at imgtec.com
Wed Mar 13 10:00:13 PDT 2013


Hi all,
I have looked at the commits 174488 and174487 by Jim Grosbach as this is something that could be very useful for the mips llvm assembler that I'm working on. In fact, I've come up with a similar idea myself few months ago but I rejected it at the end for one reason only: MatchKindClass enumerated value is defined inside

GET_MATCHER_IMPLEMENTATION definition which to my mind is a part of internal matcher implementation that is not safe to use outside generated code. We've seen this
happened for the disassembler who's implementation has completely changed without affecting C++ code. So how safe is to use these values from target AsmParser?
If this is something that will stay in a code I'd love to use it as it would make our implementation much easier.

Kind regards

Vladimir Medic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130313/43d75449/attachment.html>


More information about the llvm-commits mailing list