[all-commits] [llvm/llvm-project] 0c4c96: [LinkAllPasses] Remove unused header includes. NFCI

Björn Pettersson via All-commits all-commits at lists.llvm.org
Wed Aug 16 06:25:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c4c961008527f7055675b5a78e57927d20cf0c2
      https://github.com/llvm/llvm-project/commit/0c4c961008527f7055675b5a78e57927d20cf0c2
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/include/llvm/LinkAllPasses.h

  Log Message:
  -----------
  [LinkAllPasses] Remove unused header includes. NFCI

This patch removes some includes from LinkAllPasses.h, that appears
to be unused. Those should have been removed earlier when the
corresponding legacy PM passes were removed.

InstSimplifyPass is a bit special since the legacy PM version of the
pass still exists. But since createInstSimplifyLegacyPass is defined
in Scalar.h and not in InstSimplifyPass.h that particular include
isn't needed anyway.




More information about the All-commits mailing list