diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-01 03:55:39 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-01 03:55:39 +0000 |
| commit | 85e02e9340b370568f87ebc72a2d310fca2a2d90 (patch) | |
| tree | f99400091ad1a2a9728920412cf6e2b952bc2034 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | d537dc022ac3c8701e028da175fadd822990f3d0 (diff) | |
| download | bcm5719-llvm-85e02e9340b370568f87ebc72a2d310fca2a2d90.tar.gz bcm5719-llvm-85e02e9340b370568f87ebc72a2d310fca2a2d90.zip | |
Rename CreateRegForValue to CreateReg, and change its argument
from a Value to a Type, because it doesn't actually care about
the Value.
llvm-svn: 107383
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 56009f39031..e5538699fbc 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1211,7 +1211,7 @@ bool FastISel::HandlePHINodesInSuccessorBlocks(const BasicBlock *LLVMBB) { // by bailing out early, we may leave behind some dead instructions, // since SelectionDAG's HandlePHINodesInSuccessorBlocks will insert its // own moves. Second, this check is necessary becuase FastISel doesn't - // use CreateRegForValue to create registers, so it always creates + // use CreateReg to create registers, so it always creates // exactly one register for each non-void instruction. EVT VT = TLI.getValueType(PN->getType(), /*AllowUnknown=*/true); if (VT == MVT::Other || !TLI.isTypeLegal(VT)) { |

