OSDN Git Service

[AMDGPU] Remove obsolete special case for 1024-bit vector types. NFC.
authorJay Foad <jay.foad@amd.com>
Wed, 22 Apr 2020 08:05:24 +0000 (09:05 +0100)
committerJay Foad <jay.foad@amd.com>
Wed, 22 Apr 2020 08:05:24 +0000 (09:05 +0100)
llvm/lib/Target/AMDGPU/SIISelLowering.cpp

index 1bdd2ed..e4fe2e5 100644 (file)
@@ -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;
     }