[LLVMdev] problems with tablegen and namespaces

Chris Lattner sabre at nondot.org
Mon May 1 10:46:47 PDT 2006


On Mon, 1 May 2006, [UTF-8] Rafael Esp?ndola wrote:
>> This looks like a tblgen bug.  If you look at
>> utils/TableGen/AsmWriterEmitter.cpp:290, it appears to take the namespace
>> from the first instruction in an equivalence class that it comes across.
>> I will fix this bug this afternoon, but in the meantime, if you define an
>> instruction "AAA" which takes no operands, it will work around this.
> Thanks. Defining "AAA"  did worked around the problem.

Okay, if you update from CVS, this problem should be fixed, at least for 
the AsmPrinter.  Please try it out (without AAA), and let me know if you 
have problems with any other part of the code generator.

Thanks!

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list