[all-commits] [llvm/llvm-project] 12dd3a: Recommit "[LoopUnroll] Directly update DT instead ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Jan 20 08:33:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12dd3a7b54cd19524fc29edba374d26972246744
https://github.com/llvm/llvm-project/commit/12dd3a7b54cd19524fc29edba374d26972246744
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
Log Message:
-----------
Recommit "[LoopUnroll] Directly update DT instead of DTU."
This reverts commit c5ea42bcf48c8f3d3e35a6bff620b06d2a499108.
Recommit the patch with a fix for loops where the exiting terminator is
not a branch instruction. In that case, ExitInfos may be empty. In
addition to checking if there's a single exiting block also check if
there's a single ExitInfo.
A test case has been added in f92b35392ed8e4631.
More information about the All-commits
mailing list