1use crate::enums::ir_cmd::IrCmd;
23#[inline]
4pub fn is_pseudo(cmd: IrCmd) -> bool {
5// Instructions that are used for internal needs and are not a part of final lowering
6match cmd {
7 IrCmd::NOP | IrCmd::SUBSTITUTE | IrCmd::MARK_USED | IrCmd::MARK_DEAD => true,
8_ => false,
9 }
10}