MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remem_elim.cpp
Go to the documentation of this file.
1#include "mim/pass/rw/remem_elim.h"
2
3namespace mim {
4
5const Def* RememElim::rewrite(const Def* def) {
6 if (auto remem = isa<Tag::Remem>(def)) return remem->arg();
7 return def;
8}
9
10} // namespace mim
Base class for all Defs.
Definition def.h:220
Definition cfg.h:11