[all-commits] [llvm/llvm-project] 7a87e8: [LoopUtils] Clean up includes, use forward decls i...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Apr 19 11:51:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a87e8f90b1b1fb190d58088c35bea73b9e03555
      https://github.com/llvm/llvm-project/commit/7a87e8f90b1b1fb190d58088c35bea73b9e03555
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-19 (Sun, 19 Apr 2020)

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

  Log Message:
  -----------
  [LoopUtils] Clean up includes, use forward decls if appropriate (NFC).

Most of the includes in LoopUtils.h are not required in the header and
they can be replaced by forward declarations.

Unfortunately includes of TargetTransformInfo.h and IVDescriptors.h pull
in a bunch of additional things, but there is no easy way to get rid of
them at the moment I think.




More information about the All-commits mailing list