[all-commits] [llvm/llvm-project] a5eb12: [IVDescriptors] Remove unnecessary DemandedBits.h ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Apr 4 03:32:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a5eb1236e3b43859f7c84dad71c2b26b9a22fb8a
      https://github.com/llvm/llvm-project/commit/a5eb1236e3b43859f7c84dad71c2b26b9a22fb8a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-04 (Sat, 04 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/IVDescriptors.h
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/Analysis/IVDescriptors.cpp

  Log Message:
  -----------
  [IVDescriptors] Remove unnecessary DemandedBits.h include; NFC

Forward declare DemandedBits in IVDescriptors, and move include
into the cpp file. Also drop the include from LoopUtils, which
does not need it at all.


  Commit: 1055e9e3c87f66277e1d66b72ce8af4551e574d6
      https://github.com/llvm/llvm-project/commit/1055e9e3c87f66277e1d66b72ce8af4551e574d6
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-04 (Sat, 04 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/IVDescriptors.h
    M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp

  Log Message:
  -----------
  [IVDescriptors] Remove IRBuilder.h include; NFC

IVDescriptors.h itself does not reference IRBuilder at all.
Move the include into transformation passes that do.


Compare: https://github.com/llvm/llvm-project/compare/62f3a9650a9f...1055e9e3c87f


More information about the All-commits mailing list