[all-commits] [llvm/llvm-project] 42b34f: Recommit "[LV] Inline CreateSplatIV call for scala...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jan 14 11:05:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42b34facfdfe4c280d5d90498409ca25d1750f16
      https://github.com/llvm/llvm-project/commit/42b34facfdfe4c280d5d90498409ca25d1750f16
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/float-induction.ll

  Log Message:
  -----------
  Recommit "[LV] Inline CreateSplatIV call for scalar VFs."

This reverts the revert commit 073c27b5e5851f13d99d383e047309299b68827d.

A reduced test case has been added in 5e4966cbae7ba5 and the code has
been updated to handle the case where getInductionOpcode returns
BinaryOpsEnd. In this case, the original code was always using
Instruction::Add. Do the same in the patch.

Note this commit may slightly change the value naming, because it now
also assigns the 'induction' name in the floating point case.




More information about the All-commits mailing list