[all-commits] [llvm/llvm-project] af7995: [SimplifyCFG] Pre-commit test for folding branches...

XiangZhang via All-commits all-commits at lists.llvm.org
Thu Dec 7 17:52:20 PST 2023


  Branch: refs/heads/users/xiangzhangllvm/refine-simplify-CFG-for-loop-unroll
  Home:   https://github.com/llvm/llvm-project
  Commit: af7995f600d3b91a9d7269f2789913e06a61ef38
      https://github.com/llvm/llvm-project/commit/af7995f600d3b91a9d7269f2789913e06a61ef38
  Author: Zhang Xiang <xiang.zhang at iluvatar.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    A llvm/test/Transforms/SimplifyCFG/simplify-cfg-unroll.ll

  Log Message:
  -----------
  [SimplifyCFG] Pre-commit test for folding branches in simplify cfg


  Commit: cbcc7f3d80519eef04426447356cab3c7aad8cbb
      https://github.com/llvm/llvm-project/commit/cbcc7f3d80519eef04426447356cab3c7aad8cbb
  Author: Zhang Xiang <xiang.zhang at iluvatar.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/simplify-cfg-unroll.ll

  Log Message:
  -----------
  [SimplifyCFG] Not folding branch in constant loops which expected unroll

Constant iteration loop with unroll hint usually expected do unroll
by consumers, folding branches in such loop header at SimplifyCFG will
break unroll optimization.


Compare: https://github.com/llvm/llvm-project/compare/c5043e5e2cdb...cbcc7f3d8051


More information about the All-commits mailing list