[LLVMdev] LLVM backends instruction selection

陳韋任 chenwj at iis.sinica.edu.tw
Fri Sep 30 07:50:32 PDT 2011


Hi, Xin

> I am new to the LLVM backends, I am wondering how instruction selection is
> done in LLVM backends, I looked at the .td files in Target/X86, they all
> seem to be small and do not deal with common X86 instructions, i.e. mov,
> push, pop, etc.

  Have you read http://llvm.org/docs/CodeGenerator.html#codegenalgs ? I also find
this slide helps http://reup.dmcs.pl/wiki/images/7/7a/Tricore-llvm-slides.pdf .

HTH.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667




More information about the llvm-dev mailing list