[PATCH] R600/SI: Add getInstrInfo helper

Matt Arsenault Matthew.Arsenault at amd.com
Tue Aug 5 18:42:14 PDT 2014


Having static_cast<const SIInstrInfo *>(getTargetMachine().getSubtargetImpl()->getInstrInfo()) littered everywhere is horrible, so add a wrapper for it.

http://reviews.llvm.org/D4802

Files:
  lib/Target/R600/SIISelLowering.cpp
  lib/Target/R600/SIISelLowering.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4802.12219.patch
Type: text/x-patch
Size: 6512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140806/c660f32b/attachment.bin>


More information about the llvm-commits mailing list