This is already done with VGPR immediates and saves 4 bytes. llvm-svn: 285765
If the literal is being folded into src0, it doesn't matter if it's an SGPR because it's being replaced with the literal. Also fixes initially selecting 32-bit versions of some instructions which also confused commuting. llvm-svn: 281117
llvm-svn: 280970
llvm-svn: 251631
llvm-svn: 239657