mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -618,7 +618,8 @@ bool ARMFastISel::ARMComputeRegOffset(const Value *Obj, unsigned &Reg,
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user