Update comment.
authorEric Christopher <echristo@apple.com>
Tue, 24 Aug 2010 01:10:52 +0000 (01:10 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 24 Aug 2010 01:10:52 +0000 (01:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111887 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp

index a1b9eb480ce9a6e4232ceafd7b6cfe8b1ee35bca..55fb7c26d5a30e26a7e69d71681f8cd54b4812f8 100644 (file)
@@ -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;