We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321a6b5 commit 1606794Copy full SHA for 1606794
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -3148,7 +3148,7 @@ void SelectionDAGBuilder::visitSPDescriptorFailure(
3148
// First create the loads to the guard/stack slot for the comparison.
3149
auto &DL = DAG.getDataLayout();
3150
EVT PtrTy = TLI.getFrameIndexTy(DL);
3151
- EVT PtrMemTy = TLI.getPointerMemTy(DL);
+ EVT PtrMemTy = TLI.getPointerMemTy(DL, DL.getAllocaAddrSpace());
3152
3153
MachineFrameInfo &MFI = ParentBB->getParent()->getFrameInfo();
3154
int FI = MFI.getStackProtectorIndex();
0 commit comments