aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/FastISel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index 95280c9..6ac401d 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -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;
}