[PATCH] D30209: AMDGPU: Fold omod into instructions

Marek Olšák via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 06:57:33 PST 2017


mareko added a comment.

Other than that, nice work.



================
Comment at: lib/Target/AMDGPU/AMDGPUCallingConv.td:38
   // 32*4 + 4 is the minimum for a fetch shader consumer with 32 inputs.
-  CCIfNotInReg<CCIfType<[f32, i32] , CCAssignToReg<[
+  CCIfNotInReg<CCIfType<[f32, i32, f16] , CCAssignToReg<[
     VGPR0, VGPR1, VGPR2, VGPR3, VGPR4, VGPR5, VGPR6, VGPR7,
----------------
Why are the calling conventions being changed?


https://reviews.llvm.org/D30209





More information about the llvm-commits mailing list