Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM"
authorFangrui Song <maskray@google.com>
Thu, 9 Jul 2020 20:34:04 +0000 (13:34 -0700)
committerFangrui Song <maskray@google.com>
Thu, 9 Jul 2020 20:34:04 +0000 (13:34 -0700)
commitc025bdf25a59a79d60a2e99962c8653547a825d8
tree37b1fb1912890da0afe30a7abea36ac2f1eb06bc
parent205dc0922d5f7305226f7457fcbcb4224c92530c
Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM"

This reverts commit c92a8c0a0f68fbbb23e3fdde071007e63a552e82.

It breaks builds and has unaddressed review comments.
17 files changed:
clang/include/clang/Basic/CodeGenOptions.def
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Frontend/CompilerInvocation.cpp
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/IPO.h
llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
llvm/include/llvm/Transforms/Instrumentation/CGProfile.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/Instrumentation/CGProfile.cpp
llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
llvm/test/CodeGen/AMDGPU/opt-pipeline.ll
llvm/test/Instrumentation/cgprofile.ll
llvm/test/Other/new-pm-cgprofile.ll [new file with mode: 0644]
llvm/test/Other/opt-O2-pipeline.ll
llvm/test/Other/opt-O3-pipeline.ll
llvm/test/Other/opt-Os-pipeline.ll