diff options
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2019-02-27 03:45:28 +0000 |
---|---|---|
committer | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2019-02-27 03:45:28 +0000 |
commit | c01643087e71fe996c1fb77d7cb9bea1c2b61d52 (patch) | |
tree | aa66bf8b6e31c01763e83d5cc12b5bc970d1089c /llvm/tools/llvm-lto2/llvm-lto2.cpp | |
parent | 2ffa1705150c3cf540f5b5c6428afcd2b5878ee7 (diff) | |
download | bcm5719-llvm-c01643087e71fe996c1fb77d7cb9bea1c2b61d52.tar.gz bcm5719-llvm-c01643087e71fe996c1fb77d7cb9bea1c2b61d52.zip |
Revert "[PGO] Context sensitive PGO (part 1)"
This reverts commit r354930, it was causing UBSan failures.
llvm-svn: 354953
Diffstat (limited to 'llvm/tools/llvm-lto2/llvm-lto2.cpp')
-rw-r--r-- | llvm/tools/llvm-lto2/llvm-lto2.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/tools/llvm-lto2/llvm-lto2.cpp b/llvm/tools/llvm-lto2/llvm-lto2.cpp index 6cceb8e4cf8..d9950815a61 100644 --- a/llvm/tools/llvm-lto2/llvm-lto2.cpp +++ b/llvm/tools/llvm-lto2/llvm-lto2.cpp @@ -104,15 +104,6 @@ static cl::opt<std::string> SamplePGOFile("lto-sample-profile-file", cl::desc("Specify a SamplePGO profile file")); -static cl::opt<std::string> - CSPGOFile("lto-cspgo-profile-file", - cl::desc("Specify a context sensitive PGO profile file")); - -static cl::opt<bool> - RunCSIRInstr("lto-cspgo-gen", - cl::desc("Run PGO context sensitive IR instrumentation"), - cl::init(false), cl::Hidden); - static cl::opt<bool> UseNewPM("use-new-pm", cl::desc("Run LTO passes using the new pass manager"), @@ -223,8 +214,6 @@ static int run(int argc, char **argv) { Conf.RemarksWithHotness = OptRemarksWithHotness; Conf.SampleProfile = SamplePGOFile; - Conf.CSIRProfile = CSPGOFile; - Conf.RunCSIRInstr = RunCSIRInstr; // Run a custom pipeline, if asked for. Conf.OptPipeline = OptPipeline; |