[Mlir-commits] [mlir] [mlir] Add transformation to wrap scf::while in zero-trip-check (PR #81050)
Jerry Wu
llvmlistbot at llvm.org
Thu Feb 8 14:51:51 PST 2024
================
@@ -183,8 +183,12 @@ FailureOr<ForOp> pipelineForLoop(RewriterBase &rewriter, ForOp forOp,
bool *modifiedIR = nullptr);
/// Create zero-trip-check around a `while` op and return the new loop op in the
-/// check. The while loop is rotated to avoid evaluating the condition twice. It
-/// turns:
+/// check. The while loop is rotated to avoid evaluating the condition twice
----------------
pzread wrote:
I'm going to land this as it is first. We can re-iterate on interface if needed
https://github.com/llvm/llvm-project/pull/81050
More information about the Mlir-commits
mailing list