[all-commits] [llvm/llvm-project] fa57c7: [mlir] Extend SCF loopUnrollByFactor to return the...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Mon Nov 4 15:05:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa57c7a6a5f594a9e3ae2dbe3542cf89a20cdd73
      https://github.com/llvm/llvm-project/commit/fa57c7a6a5f594a9e3ae2dbe3542cf89a20cdd73
  Author: Hongtao Yu <hoy at meta.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp

  Log Message:
  -----------
  [mlir] Extend SCF loopUnrollByFactor to return the result loops (#114573)

There is a need of accessing the resulted epilog loop from the SC loop
unroller. It'd clean and convenient to get that directly from the loop
unroller instead of rescanning the whole function, as discussed in
https://github.com/triton-lang/triton/pull/5027 . I'm changing the
result type of `loopUnrollByFactor` for that.



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