aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-24 01:10:52 +0000
committerEric Christopher <echristo@apple.com>2010-08-24 01:10:52 +0000
commit882d62e2db7a82e4fd8fc401545ce3db46eadd82 (patch)
tree4333c007fdff14b40163f9e438cbc043f3a4c4f8 /lib
parent8c67e4cb3ab9b658301040c54a62350c5f12e0b7 (diff)
downloadexternal_llvm-882d62e2db7a82e4fd8fc401545ce3db46eadd82.zip
external_llvm-882d62e2db7a82e4fd8fc401545ce3db46eadd82.tar.gz
external_llvm-882d62e2db7a82e4fd8fc401545ce3db46eadd82.tar.bz2
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index a1b9eb4..55fb7c2 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -389,7 +389,8 @@ bool ARMFastISel::ARMSelectLoad(const Instruction *I) {
unsigned Reg = 0;
int Offset = 0;
- // TODO: Think about using loadRegFromStackSlot() here when we can.
+ // If we're an alloca we know we have a frame index and can emit the load
+ // directly in short order.
if (ARMLoadAlloca(I))
return true;