Skip to content

Commit adfe9be

Browse files
author
oscarddssmith
committed
add todo
1 parent 646c187 commit adfe9be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llvm-alloc-opt.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ void Optimizer::moveToStack(CallInst *orig_inst, size_t sz, bool has_ref, AllocF
753753
return;
754754
}
755755
if (pass.gc_loaded_func == callee) {
756+
// TODO: handle data pointer forwarding, length forwarding, and fence removal
756757
user->replaceUsesOfWith(orig_i, Constant::getNullValue(orig_i->getType()));
757758
return;
758759
}

0 commit comments

Comments
 (0)