From: Eric Christopher Date: Tue, 24 Aug 2010 01:10:52 +0000 (+0000) Subject: Update comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=882d62e2db7a82e4fd8fc401545ce3db46eadd82;p=oota-llvm.git Update comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111887 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index a1b9eb480ce..55fb7c26d5a 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;