Skip to content

Commit

Permalink
removed comment - we now have issue #128
Browse files Browse the repository at this point in the history
  • Loading branch information
leissa committed Oct 25, 2022
1 parent 6cb8b94 commit e3e2d98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dialects/core/be/ll/ll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ std::string Emitter::emit_bb(BB& bb, const Def* def) {
// TODO array with size
// auto size = emit(mslot->arg(1));
auto [pointee, addr_space] = mslot->decurry()->args<2>();
// TODO placing allocas not in the entry block may cause severe performance problems
// print(lam2bb_[entry_].body().emplace_front(), "{} = alloca {}", name, convert(pointee));
print(bb.body().emplace_back(), "{} = alloca {}", name, convert(pointee));
return name;
} else if (auto free = match<mem::free>(def)) {
Expand Down

0 comments on commit e3e2d98

Please sign in to comment.