[PATCH] D99718: [LoopVectorize] Simplify scalar cost calculation in getInstructionCost

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 03:42:25 PDT 2022


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

Unfortunately another case surfaced where we a scalarized instruction requiring multiple copies reaches getInstructionCost and triggers the assert: https://github.com/llvm/llvm-project/issues/55096. I don't think this can be handled easily, so I put up a patch to undo the changes: D125533 <https://reviews.llvm.org/D125533>. Not sure if there are any better alternatives.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99718



More information about the llvm-commits mailing list