HomePhabricator

[LoopUnroll] Make DomTree explicitly required (NFC)

Authored by nikic on May 29 2021, 12:31 AM.

Description

[LoopUnroll] Make DomTree explicitly required (NFC)

Some of the code was already assuming that DT is non-null, so
make that requirement more explicit and remove unnecessary null
checks.

Details

Committed
nikicMay 29 2021, 12:37 AM
Parents
rGb577ec495698: [AtomicExpandPass][AArch64] Promote xchg with floating-point types to integer…
Branches
Unknown
Tags
Unknown

Event Timeline

Herald added a subscriber: Restricted Project. · View Herald TranscriptMay 29 2021, 12:37 AM
xbolva00 added inline comments.
/llvm/lib/Transforms/Utils/LoopUnroll.cpp
278

Adjust comment?

288

Pass by reference?