[PATCH] D21941: AMDGPU: Set isConvergent on v_cmpx* instructions

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 12:16:31 PDT 2016


tstellarAMD added inline comments.

================
Comment at: lib/Target/AMDGPU/SIInstrInfo.td:2294
@@ -2293,1 +2293,3 @@
     let SchedRW = sched;
+    let hasSideEffects = DefExec;
+    let isConvergent = DefExec;
----------------
Why do we need to set hasSideEffects here?


http://reviews.llvm.org/D21941





More information about the llvm-commits mailing list