Remove unnecessary call to getAllocatableRegClass
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 7 Sep 2016 06:16:45 +0000 (06:16 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 7 Sep 2016 06:16:45 +0000 (06:16 +0000)
commit6cda10c9503e7754feed72346c9dee7ef73a72d5
tree34f7241f582be8e0545435d1d8af0c9db3ba62eb
parent0e473955a02768652ec0a50a08528750d724d847
Remove unnecessary call to getAllocatableRegClass

This reapplies r252565 and r252674, effectively reverting r252956.

This allows VS_32/VS_64 to be unallocatable like they should be.

llvm-svn: 280783
llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h
llvm/lib/Target/AMDGPU/SIRegisterInfo.td