Differential Revision: https://reviews.llvm.org/D29674 llvm-svn: 297499
llvm-svn: 289475
Split AMDGPUSubtarget into amdgcn/r600 specific subclasses. This removes most of the static_casting of the basic codegen classes everywhere, and tries to restrict the features visible on the wrong target. llvm-svn: 273652