[AMDGPU] Extract helper function in AsmParser. NFC
authorJoe Nash <Joseph.Nash@amd.com>
Tue, 14 Dec 2021 19:28:42 +0000 (14:28 -0500)
committerJoe Nash <Joseph.Nash@amd.com>
Wed, 15 Dec 2021 14:53:23 +0000 (09:53 -0500)
commitda9c6ea0071884648082db7cf4353977d49a4905
tree300ad8c6c8c9b3f169bb4440c4bdcd9e541c4373
parentc7103810bde9e300f0a272f0dc55eb324f5415f2
[AMDGPU] Extract helper function in AsmParser. NFC

NFC refactor to extract useful helper function isRegOrInline.

Reviewed By: rampitec, dp

Differential Revision: https://reviews.llvm.org/D115753

Change-Id: Ief52db9a62615c053fb5f429248657b97cb41453
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp