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
Mostly removing dead code. Apparently gcc's warning for unused functions is better llvm-svn: 273363
llvm-svn: 239657