[llvm] 7318625 - [AMDGPU] Remove obsolete special case for 1024-bit vector types. NFC.
    Jay Foad via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 22 01:12:05 PDT 2020
    
    
  
Author: Jay Foad
Date: 2020-04-22T09:05:24+01:00
New Revision: 7318625674b7a293fd5645e463e3a4abe81150c0
URL: https://github.com/llvm/llvm-project/commit/7318625674b7a293fd5645e463e3a4abe81150c0
DIFF: https://github.com/llvm/llvm-project/commit/7318625674b7a293fd5645e463e3a4abe81150c0.diff
LOG: [AMDGPU] Remove obsolete special case for 1024-bit vector types. NFC.
Added: 
    
Modified: 
    llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 1bdd2ed8111c..e4fe2e527c3e 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/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;
     }
        
    
    
More information about the llvm-commits
mailing list