[all-commits] [llvm/llvm-project] 9536a6: [VPlan] Preserve original induction order when cre...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jan 31 05:31:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9536a6286e470960601d269a4bd478927aceea61
      https://github.com/llvm/llvm-project/commit/9536a6286e470960601d269a4bd478927aceea61
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/X86/interleaved-accesses-hoist-load-across-store.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr36524.ll
    M llvm/test/Transforms/LoopVectorize/cast-induction.ll
    M llvm/test/Transforms/LoopVectorize/float-induction.ll
    M llvm/test/Transforms/LoopVectorize/induction-multiple-uses-in-same-instruction.ll
    M llvm/test/Transforms/LoopVectorize/induction-unroll-novec.ll
    M llvm/test/Transforms/LoopVectorize/iv_outside_user.ll
    M llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll
    M llvm/test/Transforms/LoopVectorize/runtime-check-needed-but-empty.ll
    M llvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll
    M llvm/test/Transforms/LoopVectorize/uniform_across_vf_induction2.ll
    M llvm/test/Transforms/LoopVectorize/vect-phiscev-sext-trunc.ll

  Log Message:
  -----------
  [VPlan] Preserve original induction order when creating scalar steps.

Update createScalarIVSteps to take an insert point as parameter. This
ensures that the inserted scalar steps are in the same order as the
recipes they replace (vs in reverse order as currently). This helps to
reduce the diff for follow-up changes.




More information about the All-commits mailing list