mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 06:56:12 +00:00
Apply the 95471 fix to SelectionDAGBuilder as well;
we can get in here if FastISel gives up in a block. (Actually the two copies of this need to be unified. Later.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2e93b255e
commit
8ac38f2a61
@ -3760,6 +3760,8 @@ SelectionDAGBuilder::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
||||
|
||||
MDNode *Variable = DI.getVariable();
|
||||
Value *Address = DI.getAddress();
|
||||
if (!Address)
|
||||
return 0;
|
||||
if (BitCastInst *BCI = dyn_cast<BitCastInst>(Address))
|
||||
Address = BCI->getOperand(0);
|
||||
AllocaInst *AI = dyn_cast<AllocaInst>(Address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user