From ccaea7dc0bbc75e5d4ee92fb8cc6af0f928d056f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 15 Mar 2012 21:33:47 +0000 Subject: 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 --- lib/CodeGen/SelectionDAG/FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp') diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index ff8e78757d..b5470bbd7a 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; } -- cgit v1.2.3-70-g09d2