[all-commits] [llvm/llvm-project] 0a33ce: [SLP]Fix a crash on analysis of the vectorized node.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 15 13:41:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a33ceee0105c94060c8a6089a2e489a8a7a5cb7
      https://github.com/llvm/llvm-project/commit/0a33ceee0105c94060c8a6089a2e489a8a7a5cb7
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/vect-gather-same-nodes.ll

  Log Message:
  -----------
  [SLP]Fix a crash on analysis of the vectorized node.

Need to use advanced check for the same vectorized node to avoid
possible compiler crash. We may have 2 similar nodes (vector one and
gather) after graph nodes rotation, need to do extra checks for the
exact match.




More information about the All-commits mailing list