We should be able to match elements with the swapped predicate as well - as long as we commute the source operands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
1860 ↗ | (On Diff #192699) | CmpInst *->auto *. You need always to add & or * to the auto (if any can be applied) to make it easier to read the code. |
1861 ↗ | (On Diff #192699) | Better to use Value * here because it is not easy to deduce the type from the operation. |
1862 ↗ | (On Diff #192699) | Same here |