[PATCH] R600/SI: Add getInstrInfo helper

Eric Christopher echristo at gmail.com
Wed Aug 6 07:37:18 PDT 2014


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






More information about the llvm-commits mailing list