AMDGPU: Re-justify workaround and fix worked around problem
[oota-llvm.git] / lib / Target / AMDGPU / SIInstrInfo.td
index 7eb6ab319bb33180e071c73cf2846a8550b5f5d2..0a73419dbbe17e6b7fb87c2edadba653122c5966 100644 (file)
@@ -1495,6 +1495,7 @@ multiclass VOP3_C_m <vop op, dag outs, dag ins, string asm,
 
   def "" : VOP3_Pseudo <outs, ins, pattern, opName>,
            VOP2_REV<revOp#"_e64", !eq(revOp, opName)> {
+    let Defs = !if(defExec, [EXEC], []);
     let SchedRW = sched;
   }
 
@@ -1699,6 +1700,7 @@ multiclass VOPC_m <vopc op, dag ins, string op_asm, list<dag> pattern,
                    string revOpName = "", string asm = opName#"_e32 "#op_asm,
                    string alias_asm = opName#" "#op_asm> {
   def "" : VOPC_Pseudo <ins, pattern, opName> {
+    let Defs = !if(DefExec, [VCC, EXEC], [VCC]);
     let SchedRW = sched;
   }