From: Jakob Stoklund Olesen Date: Tue, 31 Aug 2010 22:01:07 +0000 (+0000) Subject: Stack slot access methods are in TargetInstrInfo. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=297907f3a0487ae8e23c1ea53a50878b102211eb;p=oota-llvm.git Stack slot access methods are in TargetInstrInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112653 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index 8b1db7ac3da..4d0813fd6dc 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -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 MachineOperand::setReg(p_reg). To insert a store instruction, - use TargetRegisterInfo::storeRegToStackSlot(...), and to insert a - load instruction, use TargetRegisterInfo::loadRegFromStackSlot.

+ use TargetInstrInfo::storeRegToStackSlot(...), and to insert a + load instruction, use TargetInstrInfo::loadRegFromStackSlot.

The indirect mapping shields the application developer from the complexities of inserting load and store instructions. In order to map a virtual register