[llvm-commits] [llvm] r116438 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Eric Christopher
echristo at apple.com
Wed Oct 13 14:41:52 PDT 2010
Author: echristo
Date: Wed Oct 13 16:41:51 2010
New Revision: 116438
URL: http://llvm.org/viewvc/llvm-project?rev=116438&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=116438&r1=116437&r2=116438&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Wed Oct 13 16:41:51 2010
@@ -618,7 +618,8 @@
}
}
- // FIXME: Handle global variables.
+ // Materialize the global variable's address into a reg which can
+ // then be used later to load the variable.
if (const GlobalValue *GV = dyn_cast<GlobalValue>(Obj)) {
unsigned Tmp = ARMMaterializeGV(GV, TLI.getValueType(Obj->getType()));
if (Tmp == 0) return false;
More information about the llvm-commits
mailing list