[all-commits] [llvm/llvm-project] 862313: [LoopUnroll] Don't modify TripCount/TripMultiple i...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 21 12:34:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 862313cf59eef22023cc8c5d93bd368e661791d1
      https://github.com/llvm/llvm-project/commit/862313cf59eef22023cc8c5d93bd368e661791d1
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

  Log Message:
  -----------
  [LoopUnroll] Don't modify TripCount/TripMultiple in computeUnrollCount() (NFCI)

As these are no longer passed to UnrollLoop(), there is no need to
modify them in computeUnrollCount(). Make them non-reference parameters.

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


  Commit: 6922ab73a5a5b0d6a65f0b8796e5fae4345dbbd9
      https://github.com/llvm/llvm-project/commit/6922ab73a5a5b0d6a65f0b8796e5fae4345dbbd9
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    R llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  -----------
  Revert "[InstCombine] Extract bitcast -> gep transform"

This reverts commit d9f5d7b959de36085944d4a99a73f3053f953796.
This reverts commit 5780611d7e044ef56c4214df2c236ef5e15545ab.

This causes a failure in Coroutine tests.


Compare: https://github.com/llvm/llvm-project/compare/908b7536615e...6922ab73a5a5


More information about the All-commits mailing list