Stack slot access methods are in TargetInstrInfo.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 22:01:07 +0000 (22:01 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 22:01:07 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112653 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CodeGenerator.html

index 8b1db7ac3da7ac4ee8f56919658ecb86daed6ada..4d0813fd6dc82dcb41430beb1435eaadbf4a3f6b 100644 (file)
@@ -1457,8 +1457,8 @@ bool RegMapping_Fer::compatible_class(MachineFunction &amp;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