[llvm-commits] [llvm] r95471 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Dale Johannesen
dalej at apple.com
Fri Feb 5 18:26:03 PST 2010
Author: johannes
Date: Fri Feb 5 20:26:02 2010
New Revision: 95471
URL: http://llvm.org/viewvc/llvm-project?rev=95471&view=rev
Log:
After Victor's latest commits I am seeing null
addresses in dbg.declare; ignore this for the
moment to prevent things from breaking.
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=95471&r1=95470&r2=95471&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Fri Feb 5 20:26:02 2010
@@ -332,6 +332,8 @@
return true;
Value *Address = DI->getAddress();
+ if (!Address)
+ return true;
AllocaInst *AI = dyn_cast<AllocaInst>(Address);
// Don't handle byval struct arguments or VLAs, for example.
if (!AI) break;
More information about the llvm-commits
mailing list