We actually handle AllocaInst via getRegForValue below just fine.
authorEric Christopher <echristo@apple.com>
Thu, 15 Mar 2012 21:33:47 +0000 (21:33 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 15 Mar 2012 21:33:47 +0000 (21:33 +0000)
Part of rdar://8905263

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152845 91177308-0d34-0410-b5e6-96231b3b80d8

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;
     }