[all-commits] [llvm/llvm-project] a6c496: [VPlan] Do not create dummy entry block (NFC).

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Oct 25 01:53:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6c4969f5f451d40a1eef86e75689e2d90aa3a4a
      https://github.com/llvm/llvm-project/commit/a6c4969f5f451d40a1eef86e75689e2d90aa3a4a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

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

  Log Message:
  -----------
  [VPlan] Do not create dummy entry block (NFC).

At the moment a dummy entry block is created at the beginning of VPlan
construction. This dummy block is later removed again.

This means it is not easy to identify the VPlan header block in a
general fashion, because during recipe creation it is the single
successor of the entry block, while later it is the entry block.

To make getting the header easier, just skip creating the dummy block.

Reviewed By: Ayal

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




More information about the All-commits mailing list