[all-commits] [llvm/llvm-project] cb728c: [NFC] Get rid of hardcoded magical constant and us...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Nov 9 03:13:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb728cb8a9b3d0329b41dbe6d0de830eb2a0312b
      https://github.com/llvm/llvm-project/commit/cb728cb8a9b3d0329b41dbe6d0de830eb2a0312b
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

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

  Log Message:
  -----------
  [NFC] Get rid of hardcoded magical constant and use Optionals instead

Refactor calculateIterationsToInvariance so that it doesn't need a magical
constant to signify unknown answer.




More information about the All-commits mailing list