[AMDGPU] Use RegClass helper functions in getRegForInlineAsmConstraint.
authorJay Foad <jay.foad@amd.com>
Tue, 21 Apr 2020 16:15:10 +0000 (17:15 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 23 Apr 2020 11:26:52 +0000 (12:26 +0100)
commitcca6bc42d94ee0c4aa208a86cadfb321a14a83d9
tree66577fbf1ccee4b99a2ecf4602304e7a886799ef
parentc0d2bbb1d4939908545071831568b1e0b1b82860
[AMDGPU] Use RegClass helper functions in getRegForInlineAsmConstraint.

This avoids more long lists of register classes that have to be updated
every time we add a new one. NFC.

Differential Revision: https://reviews.llvm.org/D78570
llvm/lib/Target/AMDGPU/SIISelLowering.cpp