aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/FastISel.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-09-05 20:49:33 +0000
committerOwen Anderson <resistor@mac.com>2008-09-05 20:49:33 +0000
commit9c7216f984111eb8f1716741bc9039ed86ec4a9b (patch)
treed63cf81b79392555979ca259cb85bb6f86dee2b8 /include/llvm/CodeGen/FastISel.h
parent7f132122c854ff865da6debe9381cc715fbad487 (diff)
downloadexternal_llvm-9c7216f984111eb8f1716741bc9039ed86ec4a9b.zip
external_llvm-9c7216f984111eb8f1716741bc9039ed86ec4a9b.tar.gz
external_llvm-9c7216f984111eb8f1716741bc9039ed86ec4a9b.tar.bz2
Rename method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FastISel.h')
-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;
}