[llvm-branch-commits] [llvm] 97f51f0 - AMDGPU: Remove redundant CCAction for i1

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 15 14:04:52 PST 2020


Author: Matt Arsenault
Date: 2020-12-15T17:00:27-05:00
New Revision: 97f51f0489e55ec73efd8d1623d19b3455f39878

URL: https://github.com/llvm/llvm-project/commit/97f51f0489e55ec73efd8d1623d19b3455f39878
DIFF: https://github.com/llvm/llvm-project/commit/97f51f0489e55ec73efd8d1623d19b3455f39878.diff

LOG: AMDGPU: Remove redundant CCAction for i1

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td b/llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
index 7129c6991f2a..250c42776297 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
@@ -199,7 +199,7 @@ def CSR_AMDGPU_NoRegs : CalleeSavedRegs<(add)>;
 def CC_AMDGPU_Func : CallingConv<[
   CCIfByVal<CCPassByVal<4, 4>>,
   CCIfType<[i1], CCPromoteToType<i32>>,
-  CCIfType<[i1, i8, i16], CCIfExtend<CCPromoteToType<i32>>>,
+  CCIfType<[i8, i16], CCIfExtend<CCPromoteToType<i32>>>,
   CCIfType<[i32, f32, i16, f16, v2i16, v2f16, i1], CCAssignToReg<[
     VGPR0, VGPR1, VGPR2, VGPR3, VGPR4, VGPR5, VGPR6, VGPR7,
     VGPR8, VGPR9, VGPR10, VGPR11, VGPR12, VGPR13, VGPR14, VGPR15,


        


More information about the llvm-branch-commits mailing list