We actually handle AllocaInst via getRegForValue below just fine.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / FastISel.cpp
index ff8e78757dcebbee632f127d11916fb4f7b9c809..b5470bbd7a5f4f70da47e93f1cd26e3ae5a23091 100644 (file)
@@ -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;
     }