[AMDGPU] Try to fix a GCC 11 warning
authorJay Foad <jay.foad@amd.com>
Mon, 23 Aug 2021 09:49:01 +0000 (10:49 +0100)
committerJay Foad <jay.foad@amd.com>
Mon, 23 Aug 2021 09:51:37 +0000 (10:51 +0100)
commit7a967d9011060243af12a43dd962de1ec120663f
treea1cc948f79e39f5731e3f7ea8d83a5365e84bbb4
parentfb82b836b738829a4f006f475723452cf6969280
[AMDGPU] Try to fix a GCC 11 warning

Apparently GCC 11 was warning:
AMDGPURegisterBankInfo.cpp:2543:33: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp