diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -15461,8 +15461,8 @@ :: - declare void @llvm.test.set.loop.iterations.i32(i32) - declare void @llvm.test.set.loop.iterations.i64(i64) + declare i1 @llvm.test.set.loop.iterations.i32(i32) + declare i1 @llvm.test.set.loop.iterations.i64(i64) Overview: """"""""" @@ -15486,6 +15486,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. '``llvm.loop.decrement.reg.*``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^