From: Eric Christopher Date: Thu, 15 Mar 2012 21:33:47 +0000 (+0000) Subject: We actually handle AllocaInst via getRegForValue below just fine. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccaea7dc0bbc75e5d4ee92fb8cc6af0f928d056f;p=oota-llvm.git We actually handle AllocaInst via getRegForValue below just fine. Part of rdar://8905263 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152845 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index ff8e78757dc..b5470bbd7a5 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/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; }