[all-commits] [llvm/llvm-project] a2979c: [IVDescriptors] Bail out instead of asserting that...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Mar 7 11:57:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2979c839978ab4428dd44f8d96e9f2bc9613f34
      https://github.com/llvm/llvm-project/commit/a2979c839978ab4428dd44f8d96e9f2bc9613f34
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll

  Log Message:
  -----------
  [IVDescriptors] Bail out instead of asserting that order is expected.

When dealing with multiple phis that depend on each other, the order
might have been changed and may not match the expectation. If that
happens, bail out, rather than asserting.

Fixes https://github.com/llvm/llvm-project/issues/54218
Fixes https://github.com/llvm/llvm-project/issues/54233
Fixes https://github.com/llvm/llvm-project/issues/54254




More information about the All-commits mailing list