[all-commits] [llvm/llvm-project] 625920: [LoopUnroll] Make DomTree explicitly required (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 29 00:37:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 625920dabf49443d76ae05f954b0aabe33a76eba
      https://github.com/llvm/llvm-project/commit/625920dabf49443d76ae05f954b0aabe33a76eba
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-29 (Sat, 29 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list