[LLVMdev] MachineInstr: external symbols problem
sabre at nondot.org
Fri Apr 15 09:12:26 PDT 2005
On Fri, 15 Apr 2005, Vladimir Prus wrote:
> Interesting trick. It looks like '$num' inside the string is interpreted
> automatically. Is it matches with "$num" in the first argument? If the first
> argument is DAG, will it work if my backend does not use pattern matching?
Yup, exactly. This is provided by the asm-printer-generator, so if you're
using it, you should be good. You don't need to be using the new dag isel
stuff to use this. If you look at the targets in mainline, the
printInstruction method is automatically generated for them, which takes
care of this.
More information about the llvm-dev