[PATCH] D33808: [AMDGPU] V_DIV_FIXUP_F16 is not a commutable operation

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 17:17:10 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL304619: [AMDGPU] V_DIV_FIXUP_F16 is not a commutable operation (authored by rampitec).

Changed prior to commit:
  https://reviews.llvm.org/D33808?vs=101130&id=101297#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33808

Files:
  llvm/trunk/lib/Target/AMDGPU/VOP3Instructions.td


Index: llvm/trunk/lib/Target/AMDGPU/VOP3Instructions.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/VOP3Instructions.td
+++ llvm/trunk/lib/Target/AMDGPU/VOP3Instructions.td
@@ -245,9 +245,10 @@
 
 let SubtargetPredicate = Has16BitInsts in {
 
+def V_DIV_FIXUP_F16   : VOP3Inst <"v_div_fixup_f16", VOP3_Profile<VOP_F16_F16_F16_F16>, AMDGPUdiv_fixup>;
+
 let isCommutable = 1 in {
 
-def V_DIV_FIXUP_F16   : VOP3Inst <"v_div_fixup_f16", VOP3_Profile<VOP_F16_F16_F16_F16>, AMDGPUdiv_fixup>;
 def V_FMA_F16         : VOP3Inst <"v_fma_f16", VOP3_Profile<VOP_F16_F16_F16_F16>, fma>;
 def V_INTERP_P1LL_F16 : VOP3Inst <"v_interp_p1ll_f16", VOP3_Profile<VOP_F32_F32_F16>>;
 def V_INTERP_P1LV_F16 : VOP3Inst <"v_interp_p1lv_f16", VOP3_Profile<VOP_F32_F32_F16_F16>>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33808.101297.patch
Type: text/x-patch
Size: 814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170603/677a4c82/attachment.bin>


More information about the llvm-commits mailing list