Add a debug statement.

llvm-svn: 153428
This commit is contained in:
Eric Christopher 2012-03-26 06:10:32 +00:00
parent 2e6610affd
commit c1e2dcdb8a
1 changed files with 3 additions and 1 deletions

View File

@ -4696,8 +4696,10 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
V = BCI->getOperand(0);
const AllocaInst *AI = dyn_cast<AllocaInst>(V);
// Don't handle byval struct arguments or VLAs, for example.
if (!AI)
if (!AI) {
DEBUG(dbgs() << "Dropping debug location info for:\n\t" << DI << "\n");
return 0;
}
DenseMap<const AllocaInst*, int>::iterator SI =
FuncInfo.StaticAllocaMap.find(AI);
if (SI == FuncInfo.StaticAllocaMap.end())