aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-15 21:33:47 +0000
committerEric Christopher <echristo@apple.com>2012-03-15 21:33:47 +0000
commitccaea7dc0bbc75e5d4ee92fb8cc6af0f928d056f (patch)
tree13f7a87d43a75a7a6a8e1f96b469224fb8e9a1d7 /lib/CodeGen/SelectionDAG/FastISel.cpp
parentbb54d21495ba5ce60931bc872e3e3df67386cb97 (diff)
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
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<UndefValue>(Address) || isa<AllocaInst>(Address)) {
+ if (!Address || isa<UndefValue>(Address)) {
DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
return true;
}