[all-commits] [llvm/llvm-project] 9f3ff6: [SimplifyCFG] Not folding branch in loop header wi...

xiangzh1 via All-commits all-commits at lists.llvm.org
Sun Dec 3 18:13:05 PST 2023


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

  Changed paths:
    A clang/test/CodeGenCUDA/simplify-cfg-unroll.cu
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll

  Log Message:
  -----------
  [SimplifyCFG] Not folding branch in loop header with constant iterations
Loop header with constant usually can be optimized in unroll, folding branch
in such loop header at SimplifyCFG will break unroll optimization.




More information about the All-commits mailing list