[llvm] [AMDGPU] Optimize out s_barrier_signal/_wait (PR #116993)

Piotr Sobczak via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 04:03:45 PST 2024


================
@@ -9605,7 +9605,9 @@ SDValue SITargetLowering::LowerINTRINSIC_VOID(SDValue Op,
     unsigned Opc = Done->isZero() ? AMDGPU::EXP : AMDGPU::EXP_DONE;
     return SDValue(DAG.getMachineNode(Opc, DL, Op->getVTList(), Ops), 0);
   }
-  case Intrinsic::amdgcn_s_barrier: {
+  case Intrinsic::amdgcn_s_barrier:
+  case Intrinsic::amdgcn_s_barrier_signal:
----------------
piotrAMD wrote:

Done - agreed that would make more sense.

https://github.com/llvm/llvm-project/pull/116993


More information about the llvm-commits mailing list