mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 02:55:35 +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:
parent
6c354fd3f5
commit
a9c575110f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user