[IR] Deleted unneeded opcodes.