[all-commits] [llvm/llvm-project] 87a294: [LoopVectorize] Change getRuntimeVFAsFloat to use ...

david-arm via All-commits all-commits at lists.llvm.org
Mon Nov 1 02:58:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87a294d5eb5a0638d9b5887f0a620e7435f71415
      https://github.com/llvm/llvm-project/commit/87a294d5eb5a0638d9b5887f0a620e7435f71415
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll

  Log Message:
  -----------
  [LoopVectorize] Change getRuntimeVFAsFloat to use unsigned int->FP conversion

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

Differential revision: https://reviews.llvm.org/D112610




More information about the All-commits mailing list