[PATCH] D115955: [SLP]Alternate vectorization for cmp instructions.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 3 09:15:17 PST 2022


ABataev added a comment.

In D115955#3294101 <https://reviews.llvm.org/D115955#3294101>, @srj wrote:

> Latest commit seems to be working! What was the nature of the typo?

Here was the wrong code:

  CmpInst::Predicate CurrentPred = CI->getPredicate();

in function buildTree_rec. Need to use `Cmp` instead of `CI`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115955/new/

https://reviews.llvm.org/D115955



More information about the llvm-commits mailing list