[all-commits] [llvm/llvm-project] a88cc2: ProfileSummaryInfo.h - remove unnecessary includes...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Apr 10 08:30:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a88cc2045629cf54613be2244e7342b04eb83d4a
      https://github.com/llvm/llvm-project/commit/a88cc2045629cf54613be2244e7342b04eb83d4a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/lib/Target/BPF/BPFMIPeephole.cpp

  Log Message:
  -----------
  ProfileSummaryInfo.h - remove unnecessary includes. NFC

Remove a number of includes that aren't necessary (nor are we relying on the remaining includes to provide the declarations), we just needed a llvm::Instruction forward declaration.

This exposed a couple of source files that were implicitly replying on the includes for their use of llvm::SmallSet or std::set, requiring local includes to be added there instead.




More information about the All-commits mailing list