forked from OSchip/llvm-project
We actually handle AllocaInst via getRegForValue below just fine.
Part of rdar://8905263 llvm-svn: 152845
This commit is contained in:
parent
142820ba8d
commit
3390a6e5e3
|
@ -583,7 +583,7 @@ bool FastISel::SelectCall(const User *I) {
|
|||
}
|
||||
|
||||
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");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue