> 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.> -ChrisRafael
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/
> 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.The behaviour now is: The TargetInstrInfo namespace is used for the PHI instruction regardless of the presence of the AAA instruction. In ARMGenInstrNames.inc, the TargetInstrInfo namespace is used if the AAA instruction isn't defined and the ARM namespace is used if it is defined.> Thanks! > > -ChrisBest Regards, Rafael