[all-commits] [llvm/llvm-project] 1d6b5b: [SLP]Fix PR61050: Assertion `I->use_empty() && "tr...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Feb 28 07:53:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d6b5b66bb6b678578016791b439ff918e4c2c31
https://github.com/llvm/llvm-project/commit/1d6b5b66bb6b678578016791b439ff918e4c2c31
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/reduction-modified-values.ll
Log Message:
-----------
[SLP]Fix PR61050: Assertion `I->use_empty() && "trying to erase instruction with users."
When gathering the counter for the reused scalars, need to use reduced
value, not the original reduced value. Same values counter is gathered
for reduced values, not original ones.
More information about the All-commits
mailing list