This is an archive of the discontinued LLVM Phabricator instance.

Provide correct return type and additional description for llvm.test.set.loop.iterations.* in langref
ClosedPublic

Authored by JanekvO on Oct 16 2020, 10:17 AM.

Details

Summary

The langref description for llvm.test.set.loop.iterations.* seems to be missing the i1 return type.

Diff Detail

Event Timeline

JanekvO created this revision.Oct 16 2020, 10:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 16 2020, 10:17 AM
JanekvO requested review of this revision.Oct 16 2020, 10:17 AM
samparker accepted this revision.Oct 19 2020, 3:00 AM

Thanks!

llvm/docs/LangRef.rst
15502

Probably better to specify that this is a result of icmp ne %count, 0.

This revision is now accepted and ready to land.Oct 19 2020, 3:00 AM
JanekvO updated this revision to Diff 298999.Oct 19 2020, 4:09 AM

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

JanekvO marked an inline comment as done.Oct 19 2020, 4:12 AM

Thanks for the review @samparker
Also, I don't have commit access so could anybody else land this as soon as it's good to go?

Yeah, I'm happy to do that for you.

This revision was landed with ongoing or failed builds.Oct 19 2020, 4:57 AM
This revision was automatically updated to reflect the committed changes.