[all-commits] [llvm/llvm-project] 211596: [VPlan] Support extracting lanes for defs managed ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 3 04:14:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 211596c94e92d179e095734b23899d877c8fc3e5
      https://github.com/llvm/llvm-project/commit/211596c94e92d179e095734b23899d877c8fc3e5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  [VPlan] Support extracting lanes for defs managed in VPTransformState.

Currently extracting a lane for a VPValue def is not supported, if it is
managed directly by VPTransformState (e.g. because it is created by a
VPInstruction or an external VPValue def).

For now, simply extract the requested lane. In the future, we should
also cache the extracted scalar values, similar to LV.

Reviewers: Ayal, rengolin, gilr, SjoerdMeijer

Reviewed By: SjoerdMeijer

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




More information about the All-commits mailing list