From 3390a6e5e3d811cdbc01d2750e9fa9d602f33e5e Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 15 Mar 2012 21:33:47 +0000 Subject: [PATCH] We actually handle AllocaInst via getRegForValue below just fine. Part of rdar://8905263 llvm-svn: 152845 --- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index ff8e78757dce..b5470bbd7a5f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -583,7 +583,7 @@ bool FastISel::SelectCall(const User *I) { } const Value *Address = DI->getAddress(); - if (!Address || isa(Address) || isa(Address)) { + if (!Address || isa(Address)) { DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n"); return true; }