summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit3390a6e5e3d811cdbc01d2750e9fa9d602f33e5e (patch)
tree6e2e7e255957134a8120f6771aeaea1b08ca295f /llvm/lib/CodeGen
parent142820ba8da4ca0132963cce59eac7d6b8fe2527 (diff)
downloadbcm5719-llvm-3390a6e5e3d811cdbc01d2750e9fa9d602f33e5e.tar.gz
bcm5719-llvm-3390a6e5e3d811cdbc01d2750e9fa9d602f33e5e.zip
We actually handle AllocaInst via getRegForValue below just fine.
Part of rdar://8905263 llvm-svn: 152845
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index ff8e78757dc..b5470bbd7a5 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<UndefValue>(Address) || isa<AllocaInst>(Address)) {
+ if (!Address || isa<UndefValue>(Address)) {
DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
return true;
}
OpenPOWER on IntegriCloud