We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07028b5 commit 9d3e78eCopy full SHA for 9d3e78e
llvm/include/llvm/IR/Intrinsics.td
@@ -1314,7 +1314,9 @@ def int_loop_decrement :
1314
// maximum number of elements processed in an iteration). Return the remaining
1315
// number of iterations still to be executed. This is effectively a sub which
1316
// can be used with a phi, icmp and br to control the number of iterations
1317
-// executed, as usual.
+// executed, as usual. Any optimisations are allowed to treat it is a sub, and
1318
+// it's scevable, so it's the backends responsibility to handle cases where it
1319
+// may be optimised.
1320
def int_loop_decrement_reg :
1321
Intrinsic<[llvm_anyint_ty],
1322
[llvm_anyint_ty, llvm_anyint_ty], [IntrNoDuplicate]>;
0 commit comments