[LLVMdev] llc linkage problem

Renato Golin rengolin at systemcall.org
Thu Jan 13 11:44:06 PST 2011


On 13 January 2011 19:20, Atse Zeriakob <atsezeriakob at gmail.com> wrote:
> For example in XCoreInstrInfo.td I change the name of one of the instruction
> let say "divs" to "newdivs",
>
> like
> def DIVS_l3r : FL3R<"newdivs", sdiv>;
>
> When I run llc with option -march=xcore, after I make the modification, it
> still outputs "divs", not "newdivs". I looked into XCoreGenAsmWriter.inc,
> and made sure that string AsmStrs includes "newdivs".

I don't know if the tablegen gets rebuilt when you re-compile llvm,
but it could also be that you are changing the wrong rule...

I'll leave the tablegen experts answer that... ;)

cheers,
--renato



More information about the llvm-dev mailing list