[all-commits] [llvm/llvm-project] 423da6: [runtime-unroll] Inline canSafelyUnrollMultiExitLo...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Nov 15 11:39:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 423da618354aa31ebc80681ad9ad71ddf6b0fcfd
      https://github.com/llvm/llvm-project/commit/423da618354aa31ebc80681ad9ad71ddf6b0fcfd
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

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

  Log Message:
  -----------
  [runtime-unroll] Inline canSafelyUnrollMultiExitLoop [NFC]

All of the interesting logic from this routine has been removed, inline the single check into the sole non-assert caller.  The assert use has little value with the restructured code and is simply dropped.




More information about the All-commits mailing list