[all-commits] [llvm/llvm-project] b1a333: [VPlan] Don't consider VPWidenCanonicalIVRecipe ph...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jan 2 04:49:05 PST 2022


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
    M llvm/test/Transforms/LoopVectorize/pr46525-expander-insertpoint.ll
    M llvm/test/Transforms/LoopVectorize/reduction-order.ll
    M llvm/test/Transforms/LoopVectorize/select-reduction.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  -----------
  [VPlan] Don't consider VPWidenCanonicalIVRecipe phi-like.

VPWidenCanonicalIVRecipe does not create PHI instructions, so it does
not need to be placed in the phi section of a VPBasicBlock.

Also tidies the code so the WidenCanonicalIV recipe and the
compare/lane-masks are created in the header.

Discussed D113223.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D116473




More information about the All-commits mailing list