[all-commits] [llvm/llvm-project] 569f7e: [SCEV][NFC] Convert check to assert getSmallConsta...

Joshua Cao via All-commits all-commits at lists.llvm.org
Mon Apr 10 20:12:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 569f7e547d4124943a2aaa8da31bd82af0db37f2
      https://github.com/llvm/llvm-project/commit/569f7e547d4124943a2aaa8da31bd82af0db37f2
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV][NFC] Convert check to assert getSmallConstantTripMultiple()


  Commit: 60470e163a9b6f6586512757bf81aa5159aeda25
      https://github.com/llvm/llvm-project/commit/60470e163a9b6f6586512757bf81aa5159aeda25
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M llvm/test/Transforms/LoopUnroll/X86/mmx.ll

  Log Message:
  -----------
  [LoopUnroll] Add script test checks for LoopUnroll/X86/mmx.ll


  Commit: 898a9ca5e939acd06fd73217423a9276f762d098
      https://github.com/llvm/llvm-project/commit/898a9ca5e939acd06fd73217423a9276f762d098
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/huge-trip-multiple.ll
    M llvm/test/Transforms/LoopUnroll/X86/mmx.ll

  Log Message:
  -----------
  [SCEV] Strengthen huge constant trip multiples.

SCEV determines that loops with trip count >=2^32 have a trip multiple
of 1 to guard against huge multiples. This patch stregthens this to
instead find the greatest power of 2 divisor that is less than the
threshold.

Differential Revision: https://reviews.llvm.org/D147868


Compare: https://github.com/llvm/llvm-project/compare/585742cbfccd...898a9ca5e939


More information about the All-commits mailing list