We never expect the runtime VF to be negative so we should use
the uitofp instruction instead of sitofp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D112610
[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
Diff Detail
Event TimelineThis 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 Closed by commit rG87a294d5eb5a: [LoopVectorize] Change getRuntimeVFAsFloat to use unsigned int->FP conversion (authored by david-arm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383755 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
|