[all-commits] [llvm/llvm-project] a83ec0: [Utils] Improve documentation for `cloneLoopWithPr...

Congzhe Cao via All-commits all-commits at lists.llvm.org
Fri Jul 10 20:48:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a83ec0fb845e04b1b579decc4cc8f56245267c16
      https://github.com/llvm/llvm-project/commit/a83ec0fb845e04b1b579decc4cc8f56245267c16
  Author: Congzhe Cao <congzhe.cao at huawei.com>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/lib/Transforms/Utils/CloneFunction.cpp

  Log Message:
  -----------
  [Utils] Improve documentation for `cloneLoopWithPreheader()` (#208817)

Fixed #191471.

The client needs to further update the CFG and DominatorTree after
calling `cloneLoopWithPreheader()` to ensure the IR remains valid, 
the function itself does not automatically update the control flow fully.
Clarified and improved the comments for the function.



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