[all-commits] [llvm/llvm-project] cdafe5: TargetLoweringObjectFile.h - remove unnecessary in...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue May 19 02:09:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cdafe59f9528567df2e06c9f92f089791e3b9d5b
      https://github.com/llvm/llvm-project/commit/cdafe59f9528567df2e06c9f92f089791e3b9d5b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/include/llvm/Target/TargetLoweringObjectFile.h
    M llvm/lib/CodeGen/GlobalMerge.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
    M llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp
    M llvm/lib/Target/TargetLoweringObjectFile.cpp

  Log Message:
  -----------
  TargetLoweringObjectFile.h - remove unnecessary includes. NFCI.

Replace with forward declarations and move includes down to source files where required.

I also needed to move the TargetLoweringObjectFile::SectionForGlobal wrapper implementation down into TargetLoweringObjectFile.cpp


  Commit: e215cb7aa48e811e325587d437022fa4b947c4a4
      https://github.com/llvm/llvm-project/commit/e215cb7aa48e811e325587d437022fa4b947c4a4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/include/llvm/Target/TargetIntrinsicInfo.h

  Log Message:
  -----------
  TargetIntrinsicInfo.h - remove unnecessary Compiler.h include. NFC.

We don't need use compiler specific attributes so don't need Compiler.h


Compare: https://github.com/llvm/llvm-project/compare/d94bacbcf87a...e215cb7aa48e


More information about the All-commits mailing list