[all-commits] [llvm/llvm-project] ceb3cd: [SLP] remove dead code in reduction matching; NFC
RotateRight via All-commits
all-commits at lists.llvm.org
Fri Jan 15 14:07:30 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ceb3cdccd0fb597659147e0f538fdee91414541e
https://github.com/llvm/llvm-project/commit/ceb3cdccd0fb597659147e0f538fdee91414541e
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] remove dead code in reduction matching; NFC
To get into this block we had: !A || B || C
and we checked C in the first 'if' clause
leaving !A || B. But the 2nd 'if' is checking:
A && !B --> !(!A || B)
More information about the All-commits
mailing list