[all-commits] [llvm/llvm-project] 189266: [MLIR][SCF] Loop pipelining fails on failed predic...

SJW via All-commits all-commits at lists.llvm.org
Thu Sep 5 11:46:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18926666f509104c3f478444b282291ce19fab6a
      https://github.com/llvm/llvm-project/commit/18926666f509104c3f478444b282291ce19fab6a
  Author: SJW <48454132+sjw36 at users.noreply.github.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp

  Log Message:
  -----------
  [MLIR][SCF] Loop pipelining fails on failed predication (no assert) (#107442)

The SCFLoopPipelining allows predication on peeled or loop ops. When the
predicationFn returns a nullptr this signifies the op type is
unsupported and the pipeliner fails except in `emitPrologue` where it
asserts.

This patch fixes handling in the prologue to gracefully fail.



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