diff options
author | Florian Hahn <flo@fhahn.com> | 2023-01-20 16:33:39 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-01-20 16:33:40 +0000 |
commit | 12dd3a7b54cd19524fc29edba374d26972246744 (patch) | |
tree | 0a74291dbed882b0377aed4f735eac1df90cfcdd /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | ee3c6de722e77a7966764133b1b8a5cd1a1f562f (diff) | |
download | llvm-12dd3a7b54cd19524fc29edba374d26972246744.zip llvm-12dd3a7b54cd19524fc29edba374d26972246744.tar.gz llvm-12dd3a7b54cd19524fc29edba374d26972246744.tar.bz2 |
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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions