[PATCH] D89564: Provide correct return type and additional description for llvm.test.set.loop.iterations.* in langref

Janek van Oirschot via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 04:09:15 PDT 2020


JanekvO updated this revision to Diff 298999.
JanekvO added a comment.

Rebase and change description to more accurately specify the result of the intrinsic.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89564/new/

https://reviews.llvm.org/D89564

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -15499,7 +15499,7 @@
 arithmetic on their operand. It's a hint to the backend that can use this to
 set up the hardware-loop count with a target specific instruction, usually a
 move of this value to a special register or a hardware-loop instruction.
-The result is a condition to determine whether the loop should be skipped.
+The result is the conditional value of whether the given count is not zero.
 
 '``llvm.loop.decrement.reg.*``' Intrinsic
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89564.298999.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/ea674ceb/attachment.bin>


More information about the llvm-commits mailing list