mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
After Victor's latest commits I am seeing null
addresses in dbg.declare; ignore this for the moment to prevent things from breaking. llvm-svn: 95471
This commit is contained in:
parent
157da4b794
commit
83f31d3511
@ -332,6 +332,8 @@ bool FastISel::SelectCall(User *I) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user