Skip to content

Commit 5613b25

Browse files
committed
Revise comment on getLiveVars().
Add a link to an issue with this function.
1 parent 266ef08 commit 5613b25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Yk/ControlPoint.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ CallInst *findControlPointCall(Module &M) {
8989
}
9090

9191
/// Extract all live variables that need to be passed into the control point.
92+
///
93+
/// YKFIXME: This currently computes an over-approximation of what's live.
94+
/// https://github.com/ykjit/yk/issues/515
9295
std::vector<Value *> getLiveVars(DominatorTree &DT, CallInst *OldCtrlPoint) {
9396
std::vector<Value *> Vec;
9497
Function *Func = OldCtrlPoint->getFunction();

0 commit comments

Comments
 (0)