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

xiangzh1 via All-commits all-commits at lists.llvm.org
Mon Dec 4 00:34:35 PST 2023


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

  Changed paths:
    A clang/test/CodeGenCUDA/simplify-cfg-unroll.cu

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


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

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

  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/9f3ff6f8e542...e9632236b807


More information about the All-commits mailing list