[PATCH] D62720: AMDGPU/GFX10: V_CMPX_xxx instructions still have an omod operand

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 01:47:58 PDT 2019


nhaehnle created this revision.
nhaehnle added a reviewer: rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.

Change-Id: If6ee98e4a723b643bc37254fc6ef8b3812db16da


Repository:
  rL LLVM

https://reviews.llvm.org/D62720

Files:
  lib/Target/AMDGPU/SIInsertSkips.cpp


Index: lib/Target/AMDGPU/SIInsertSkips.cpp
===================================================================
--- lib/Target/AMDGPU/SIInsertSkips.cpp
+++ lib/Target/AMDGPU/SIInsertSkips.cpp
@@ -270,8 +270,7 @@
         .addImm(0)  // src1 modifiers
         .add(MI.getOperand(0));
 
-      if (!ST.hasNoSdstCMPX())
-        I.addImm(0);  // omod
+      I.addImm(0);  // omod
     }
     break;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62720.202390.patch
Type: text/x-patch
Size: 401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190531/ec453944/attachment.bin>


More information about the llvm-commits mailing list