[PATCH] D118566: [LoopVectorizer] Don't perform interleaving of predicated scalar loops

Tiehu Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 18:19:49 PDT 2022


TiehuZhang added a comment.
Herald added a project: All.

Hi, @dmgreen, is it necessary to add `ScalarInterleavingRequiresPredication ` to the guard of `AggressivelyInterleaveReductions `? I met some case that the current patch wants to prevent from interleaving but still be interleaved, as `AggressivelyInterleaveReductions` is enabled on our target.

  if (AggressivelyInterleaveReductions && !ScalarInterleavingRequiresPredication) {
    LLVM_DEBUG(dbgs() << "LV: Interleaving to expose ILP.\n");
    return IC;
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118566



More information about the llvm-commits mailing list