removed warnings in ir_test.cc