[all-commits] [llvm/llvm-project] 39385c: [LV] Move getBroadcastInstr to VPTransformState.::...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jul 4 03:24:39 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39385c521d53a1dbfd9b8baa6865a9145370223b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  [LV] Move getBroadcastInstr to VPTransformState.::get (NFCI).

getBroadcastInstrs is only used in VPTransformState::get. Move it closer
to use to reduce unnecessary interaction with ILV object.

More information about the All-commits mailing list