[LLVMdev] MRegisterInfo::storeRegToStackSlot question

Chris Lattner sabre at nondot.org
Sat May 13 19:02:31 PDT 2006


On Sat, 13 May 2006, Vladimir Prus wrote:
> in LLVM CVS the afore-mentioned function has 'const TargetRegisterClass*'
> parameter, that is not documented.
>
> Can somebody explain what does it mean?

Basically, it gives the target more information about the spill.  In 
particular, it specifies the register class to use for the copy.  The 
target can choose to ignore this if it wants.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list