[all-commits] [llvm/llvm-project] f61c9b: [SLP] Fix infinite loop in isUndefVector.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Feb 19 13:43:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f61c9b75690e8c374a99332b9b837bf8f77bfc90
      https://github.com/llvm/llvm-project/commit/f61c9b75690e8c374a99332b9b837bf8f77bfc90
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-02-19 (Sun, 19 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/insertelement.ll

  Log Message:
  -----------
  [SLP] Fix infinite loop in isUndefVector.

This fixes an infinite loop if isa<T>(II->getOperand(1)) is true.
Update Base at the top of the loop, before the continue.

Reviewed By: ABataev

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




More information about the All-commits mailing list