File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -199,23 +199,6 @@ class YkControlPoint : public ModulePass {
199
199
OldCtrlPointCall->getArgOperand (YK_CONTROL_POINT_ARG_LOC_IDX),
200
200
InputStruct, FAddr});
201
201
202
- // Once the control point returns we need to extract the (potentially
203
- // mutated) values from the returned YkCtrlPointStruct and reassign them to
204
- // their corresponding live variables. In LLVM IR we can do this by simply
205
- // replacing all future references with the new values.
206
- LvIdx = 0 ;
207
- Instruction *New;
208
- for (Value *LV : LiveVals) {
209
- Value *FieldPtr =
210
- Builder.CreateGEP (CtrlPointVarsTy, InputStruct,
211
- {Builder.getInt32 (0 ), Builder.getInt32 (LvIdx)});
212
- New = Builder.CreateLoad (TypeParams[LvIdx], FieldPtr);
213
- LV->replaceUsesWithIf (
214
- New, [&](Use &U) { return DT.dominates (NewCtrlPointCallInst, U); });
215
- assert (LvIdx != UINT_MAX);
216
- LvIdx++;
217
- }
218
-
219
202
// Replace the call to the dummy control point.
220
203
OldCtrlPointCall->eraseFromParent ();
221
204
You can’t perform that action at this time.
0 commit comments