[LLVMdev] Bind a LLVM variable to a CPU register

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Thu Jul 19 20:02:29 PDT 2012


> > 3) Change the code generator.  I don't work with the code generator, so I
> > don't know how involved the change is, but I suspect it's pretty small.
> >
> I think i will go this way. i would agree with you that the changes
> might be small.

  You can take X86RegisterInfo::getReservedRegs (lib/Target/X86/X86RegisterInfo.cpp)
a look. ;)

Regards,
chenwj
 
-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list