[all-commits] [llvm/llvm-project] 9df056: [SLP] Fix crash caused by reorderBottomToTop().

vporpo via All-commits all-commits at lists.llvm.org
Tue May 24 12:25:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9df0568b073307dd9390e7d670873e40b65c9f95
      https://github.com/llvm/llvm-project/commit/9df0568b073307dd9390e7d670873e40b65c9f95
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reorder_with_reordered_users.ll

  Log Message:
  -----------
  [SLP] Fix crash caused by reorderBottomToTop().

The crash is caused by incorrect order set by reorderBottomToTop(), which
happens when it is reordering a TreeEntry which has a user that has already been
reordered earlier. Please see the detailed description in the lit test.

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




More information about the All-commits mailing list