[all-commits] [llvm/llvm-project] 0448dd: [NFCI] cleanup CloneFunctionInto

ldrumm via All-commits all-commits at lists.llvm.org
Tue Mar 23 05:53:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0448ddd169ef3f05c6ec88828565f27b2bcd9b00
      https://github.com/llvm/llvm-project/commit/0448ddd169ef3f05c6ec88828565f27b2bcd9b00
  Author: Luke Drummond <luke.drummond at codeplay.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

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

  Log Message:
  -----------
  [NFCI] cleanup CloneFunctionInto

Hoist early return for decl-only clones to before DIFinder
calculation.
Also fix an out of date assert message after invariants changed in
22a52dfddce.

Reviewed by: nikic, dexonsmith
Differential Revisision: https://reviews.llvm.org/D98957


  Commit: ab44ec1b22b758339500add10f702a875a32055a
      https://github.com/llvm/llvm-project/commit/ab44ec1b22b758339500add10f702a875a32055a
  Author: Luke Drummond <luke.drummond at codeplay.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

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

  Log Message:
  -----------
  [NFC] Minor refactor

- Give unwieldy repeated expression a name
- Use a ranged `for` basic block iterator

Reviewed by: nikic, dexonsmith
Differential Revisision: https://reviews.llvm.org/D98957


  Commit: 520f70e94d9cd37fba3d3f43da5b8f48e0518c7e
      https://github.com/llvm/llvm-project/commit/520f70e94d9cd37fba3d3f43da5b8f48e0518c7e
  Author: Luke Drummond <luke.drummond at codeplay.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

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

  Log Message:
  -----------
  [NFC] clang-format llvm/lib/Transforms/Utils/CloneFunction.cpp

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


Compare: https://github.com/llvm/llvm-project/compare/39e36fff3d09...520f70e94d9c


More information about the All-commits mailing list