From 3f338fc7172d4b74f5168b7c8214a3196233ef56 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 22 Apr 2020 09:05:24 +0100 Subject: [PATCH] [AMDGPU] Remove obsolete special case for 1024-bit vector types. NFC. --- lib/Target/AMDGPU/SIISelLowering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Target/AMDGPU/SIISelLowering.cpp b/lib/Target/AMDGPU/SIISelLowering.cpp index 1bdd2ed8111..e4fe2e527c3 100644 --- a/lib/Target/AMDGPU/SIISelLowering.cpp +++ b/lib/Target/AMDGPU/SIISelLowering.cpp @@ -10665,8 +10665,7 @@ SITargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI, break; case 1024: RC = &AMDGPU::AReg_1024RegClass; - // v32 types are not legal but we support them here. - return std::make_pair(0U, RC); + break; } break; }