This is an archive of the discontinued LLVM Phabricator instance.

[LoopVectorize] Change getRuntimeVFAsFloat to use unsigned int->FP conversion
ClosedPublic

Authored by david-arm on Oct 27 2021, 3:45 AM.

Details

Summary

We never expect the runtime VF to be negative so we should use
the uitofp instruction instead of sitofp.

Diff Detail

Event Timeline

david-arm created this revision.Oct 27 2021, 3:45 AM
david-arm requested review of this revision.Oct 27 2021, 3:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2021, 3:45 AM
kmclaughlin accepted this revision.Oct 27 2021, 3:50 AM
This revision is now accepted and ready to land.Oct 27 2021, 3:50 AM
This revision was landed with ongoing or failed builds.Nov 1 2021, 2:58 AM
This revision was automatically updated to reflect the committed changes.