Maybe the compiler can take care of that in the future. IBM Research is looking into that and they have really interesting ideas on how to optimize that.