AMDGPU/GFX10: V_CMPX_xxx instructions still have an omod operand
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 3 Jun 2019 12:07:41 +0000 (12:07 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 3 Jun 2019 12:07:41 +0000 (12:07 +0000)
Summary: Change-Id: If6ee98e4a723b643bc37254fc6ef8b3812db16da

Reviewers: rampitec

Subscribers: arsenm, kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62720

Change-Id: Id547ef152b2f92b24dc1c0efbf7e4467c4fb4b6e
llvm-svn: 362390

llvm/lib/Target/AMDGPU/SIInsertSkips.cpp

index a73350c..fd0951e 100644 (file)
@@ -270,8 +270,7 @@ void SIInsertSkips::kill(MachineInstr &MI) {
         .addImm(0)  // src1 modifiers
         .add(MI.getOperand(0));
 
-      if (!ST.hasNoSdstCMPX())
-        I.addImm(0);  // omod
+      I.addImm(0);  // omod
     }
     break;
   }