optimisations work independently of current_ir_graph now, no need to set/restore...