[llvm-commits] [llvm] r111887 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Eric Christopher
echristo at apple.com
Mon Aug 23 18:10:52 PDT 2010
Author: echristo
Date: Mon Aug 23 20:10:52 2010
New Revision: 111887
URL: http://llvm.org/viewvc/llvm-project?rev=111887&view=rev
Log:
Update comment.
Modified:
llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=111887&r1=111886&r2=111887&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Mon Aug 23 20:10:52 2010
@@ -389,7 +389,8 @@
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;
More information about the llvm-commits
mailing list