[llvm-commits] [llvm] r152845 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp

Eric Christopher echristo at apple.com
Thu Mar 15 14:33:48 PDT 2012


Author: echristo
Date: Thu Mar 15 16:33:47 2012
New Revision: 152845

URL: http://llvm.org/viewvc/llvm-project?rev=152845&view=rev
Log:
We actually handle AllocaInst via getRegForValue below just fine.

Part of rdar://8905263

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=152845&r1=152844&r2=152845&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Thu Mar 15 16:33:47 2012
@@ -583,7 +583,7 @@
     }
 
     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;
     }





More information about the llvm-commits mailing list