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

xiangzh1 via All-commits all-commits at lists.llvm.org
Tue Dec 5 00:56:08 PST 2023


  Branch: refs/heads/users/xiangzhangllvm/refine-simplify-CFG-for-loop-unroll
  Home:   https://github.com/llvm/llvm-project
  Commit: 771edc8e103a2ab6aae70847245d7ee5e9ff5e69
      https://github.com/llvm/llvm-project/commit/771edc8e103a2ab6aae70847245d7ee5e9ff5e69
  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: 6a80c39a1d52567be51b0075b91042936024a617
      https://github.com/llvm/llvm-project/commit/6a80c39a1d52567be51b0075b91042936024a617
  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/e9632236b807...6a80c39a1d52


More information about the All-commits mailing list