[LLVMdev] need help on llc option -march=?

Atse Zeriakob atsezeriakob at gmail.com
Thu Jan 13 12:32:32 PST 2011


I am using LLVM 2.8 on Ubuntu 10.10. (new to both)



I change name of instruction on XXXInstrInfo.td ( Sparc, X86 and XCore).  I
looked into XXXGenAsmWriter.inc and I have seen the new instruction name.
But when I run llc for the three targets it prints out the old instruction
name.



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".







If this is linkage problem how can I solve it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110113/91503e71/attachment.html>


More information about the llvm-dev mailing list