[all-commits] [llvm/llvm-project] 43f0f1: [VPlan] Use onlyFirstLaneUsed in sinkScalarOperands.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Oct 29 11:46:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43f0f1a66ff074628305f5d2fc11ce5dd4edef53
      https://github.com/llvm/llvm-project/commit/43f0f1a66ff074628305f5d2fc11ce5dd4edef53
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-29 (Sat, 29 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll

  Log Message:
  -----------
  [VPlan] Use onlyFirstLaneUsed in sinkScalarOperands.

Replace custom code to check if only the first lane is used by generic
helper `onlyFirstLaneUsed`. This enables VPlan-based sinking in a few
additional cases and was suggested in D133760.

Reviewed By: Ayal

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




More information about the All-commits mailing list