[all-commits] [llvm/llvm-project] de4042: [LV] Ensure fixNonInductionPHIs uses a valid inser...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Feb 23 10:51:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de40423c8512c9cfa0b244314b5e342056ec6d49
      https://github.com/llvm/llvm-project/commit/de40423c8512c9cfa0b244314b5e342056ec6d49
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

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

  Log Message:
  -----------
  [LV] Ensure fixNonInductionPHIs uses a valid insertion point.

In some cases, Builder's insertion point may be invalidated before using
it in VPTransformState::get. Make sure the insertion point is
up-to-date.

This should fix various sanitizer errors, like
https://lab.llvm.org/buildbot/#/builders/5/builds/4933/steps/9/logs/stdio




More information about the All-commits mailing list