[all-commits] [llvm/llvm-project] b0f031: [SLP]Add an extra check for select minmax reducti...
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Tue May 17 06:07:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0f0313febe755eeb7bacd62cf5862d9812f1690
https://github.com/llvm/llvm-project/commit/b0f0313febe755eeb7bacd62cf5862d9812f1690
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-05-17 (Tue, 17 May 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/reduction-min-select.ll
Log Message:
-----------
[SLP]Add an extra check for select minmax reduction to avoid crash.
Need to check if the reduction is still (not)cmp-select pattern min/max
reduction to avoid compiler crash during building list of reduction
operations. cmp-sel pattern provides 2 reduction operations, while
intrinsics - just one.
More information about the All-commits
mailing list