[all-commits] [llvm/llvm-project] 7c9008: [SCF][PIPELINE] Handle the case when values from t...
pawelszczerbuk via All-commits
all-commits at lists.llvm.org
Fri Aug 23 08:23:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c9008115a2a24788f07bb476fb28dcf5e661ae4
https://github.com/llvm/llvm-project/commit/7c9008115a2a24788f07bb476fb28dcf5e661ae4
Author: pawelszczerbuk <153013546+pawelszczerbuk at users.noreply.github.com>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
M mlir/test/Dialect/SCF/loop-pipelining.mlir
Log Message:
-----------
[SCF][PIPELINE] Handle the case when values from the peeled prologue may escape out of the loop (#105755)
Previously the values in the peeled prologue that weren't treated with
the `predicateFn` were passed to the loop body without any other
predication. If those values are later used outside of the loop body,
they may be incorrect if the num iterations is smaller than num stages -
1. We need similar masking for those, as is done in the main loop body,
using already existing predicates.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list