mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 01:25:10 +00:00
We actually handle AllocaInst via getRegForValue below just fine.
Part of rdar://8905263 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -583,7 +583,7 @@ bool FastISel::SelectCall(const User *I) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Value *Address = DI->getAddress();
|
const Value *Address = DI->getAddress();
|
||||||
if (!Address || isa<UndefValue>(Address) || isa<AllocaInst>(Address)) {
|
if (!Address || isa<UndefValue>(Address)) {
|
||||||
DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
|
DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user