[Mlir-commits] [mlir] [mlir][amdgpu][docs] Add op examples to dialect docs (PR #146848)
Eric Feng
llvmlistbot at llvm.org
Sun Jul 6 21:51:55 PDT 2025
================
@@ -711,6 +791,14 @@ def AMDGPU_SchedBarrierOp :
`amdgpu.sched_barrier` serves as a barrier that could be
configured to restrict movements of instructions through it as
defined by sched_barrier_opts.
+
+ #### Example
+ ```mlir
+ // Barrier allowing no dependent instructions
----------------
efric wrote:
I find the use of "dependent" here confusing. Personally, I think it is more clear to say something along the lines of "no instructions may be scheduled across the barrier"
https://github.com/llvm/llvm-project/pull/146848
More information about the Mlir-commits
mailing list