Print expanded IR on optimizer crashes