[all-commits] [llvm/llvm-project] 5f53e8: [SLP]Fix a crash when trying to find reduced ops f...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Feb 27 07:32:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f53e85f8aa92ff0cf7d674a92491e06683f73ef
      https://github.com/llvm/llvm-project/commit/5f53e85f8aa92ff0cf7d674a92491e06683f73ef
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reduction-extracted-value.ll

  Log Message:
  -----------
  [SLP]Fix a crash when trying to find reduced ops for the reduced value.

Need to use original reduced value, not the one the compiler gets after
reduction, it may be replaced by the extractelement instruction already.




More information about the All-commits mailing list