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;