Rename method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2008-09-05 20:49:33 +00:00
parent 7f132122c8
commit 9c7216f984
2 changed files with 7 additions and 5 deletions

View File

@ -227,8 +227,10 @@ protected:
unsigned createResultReg(const TargetRegisterClass *RC);
virtual unsigned TargetSelectConstantPoolLoad(Constant* C,
MachineConstantPool* MCP) {
/// TargetMaterializeConstant - Emit a constant in a register using
/// target-specific logic, such as constant pool loads.
virtual unsigned TargetMaterializeConstant(Constant* C,
MachineConstantPool* MCP) {
return 0;
}

View File

@ -61,7 +61,7 @@ private:
bool X86SelectSelect(Instruction *I);
unsigned TargetSelectConstantPoolLoad(Constant *C, MachineConstantPool* MCP);
unsigned TargetMaterializeConstant(Constant *C, MachineConstantPool* MCP);
};
/// X86SelectConstAddr - Select and emit code to materialize constant address.
@ -549,8 +549,8 @@ X86FastISel::TargetSelectInstruction(Instruction *I) {
return false;
}
unsigned X86FastISel::TargetSelectConstantPoolLoad(Constant *C,
MachineConstantPool* MCP) {
unsigned X86FastISel::TargetMaterializeConstant(Constant *C,
MachineConstantPool* MCP) {
unsigned CPLoad = getRegForValue(C);
if (CPLoad != 0)
return CPLoad;