This could also be written as getTargetMachine().getSubtarget<R600Subtarget>().getInstrInfo() and then it's shorter but still leaves the full line. It's going to keep changing for a bit so a helper function might be a bit premature. -eric http://reviews.llvm.org/D4802