[all-commits] [llvm/llvm-project] a7efe0: [LV] Assert no DbgInfoIntrinsic calls are passed t...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Apr 9 03:38:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a7efe06af0f5ee860a582885c678b4ef981b6b2c
      https://github.com/llvm/llvm-project/commit/a7efe06af0f5ee860a582885c678b4ef981b6b2c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

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

  Log Message:
  -----------
  [LV] Assert no DbgInfoIntrinsic calls are passed to widening (NFC).

When building a VPlan, BasicBlock::instructionsWithoutDebug() is used to
iterate over the instructions in a block. This means that no recipes
should be created for debug info intrinsics already and we can turn the
early exit into an assertion.

Reviewers: Ayal, gilr, rengolin, aprantl

Reviewed By: aprantl

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




More information about the All-commits mailing list