================
@@ -1050,3 +1050,24 @@ to instruction memory, with the length specified by 
``len``, which should be
 0-31 (1-32 chunks, units of 128 bytes).
 }];
 }
+
+//===----------------------------------------------------------------------===//
+// Pseudo-Instruction/Hint Builtins
+//===----------------------------------------------------------------------===//
+
+def DocCatAMDGPUHints : DocumentationCategory<"Pseudo-Instruction/Hint 
Builtins"> {
+  let Content = [{
+These builtins do not correspond to a hardware instruction. They provide hints
+to configure code generation. The backend may ignore them, and they emit at 
most
+an assembly comment themselves.
----------------
danzimm wrote:

Yes that's true, apologies. The original plan / idea was to pull in 
sched.barrier / sched.group.barrier / iglp.opt under this category, but forgot 
to comment that.

Now that I write this out, IIRC, none of those hints fit this definition 
really. The `they emit at most an assembly comment` seems to nearly disagree 
with `configure code generation`. I'll rewrite this, thanks for the flag.

https://github.com/llvm/llvm-project/pull/243204
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to