[llvm] LoopVectorize: guard appending InstsToScalarize; fix bug (PR #88720)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 02:39:11 PDT 2024


================
@@ -5821,7 +5821,8 @@ void LoopVectorizationCostModel::collectInstsToScalarize(ElementCount VF) {
         // invalid scalarization costs.
         // Do not apply discount logic if hacked cost is needed
         // for emulated masked memrefs.
----------------
fhahn wrote:

Looks like the comment still needs updating, to include the new condition.

https://github.com/llvm/llvm-project/pull/88720


More information about the llvm-commits mailing list