From 882d62e2db7a82e4fd8fc401545ce3db46eadd82 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 24 Aug 2010 01:10:52 +0000 Subject: [PATCH] Update comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111887 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMFastISel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.34.1