forked from OSchip/llvm-project
Stack slot access methods are in TargetInstrInfo.
llvm-svn: 112653
This commit is contained in:
parent
9b7fdc0483
commit
94e90b9406
|
|
@ -1457,8 +1457,8 @@ bool RegMapping_Fer::compatible_class(MachineFunction &mf,
|
|||
order to get and store values in memory. To assign a physical register to a
|
||||
virtual register present in a given operand,
|
||||
use <tt>MachineOperand::setReg(p_reg)</tt>. To insert a store instruction,
|
||||
use <tt>TargetRegisterInfo::storeRegToStackSlot(...)</tt>, and to insert a
|
||||
load instruction, use <tt>TargetRegisterInfo::loadRegFromStackSlot</tt>.</p>
|
||||
use <tt>TargetInstrInfo::storeRegToStackSlot(...)</tt>, and to insert a
|
||||
load instruction, use <tt>TargetInstrInfo::loadRegFromStackSlot</tt>.</p>
|
||||
|
||||
<p>The indirect mapping shields the application developer from the complexities
|
||||
of inserting load and store instructions. In order to map a virtual register
|
||||
|
|
|
|||
Loading…
Reference in New Issue