Adding option to strip profile from IR output which can be useful for debugging PGO issues by comparing against non-PGO cases
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D150304
[opt][profiling] Add -strip-profile option to opt tool, to remove profile information from IR DraftPublic Authored by nilanjana_basu on May 10 2023, 1:49 PM. This is a draft revision that has not yet been submitted for review.
Details
Summary Adding option to strip profile from IR output which can be useful for debugging PGO issues by comparing against non-PGO cases
Diff Detail
Revision Contents
Diff 521098 llvm/include/llvm/IR/Instruction.h
llvm/include/llvm/IR/ProfDataUtils.h
llvm/lib/IR/Instruction.cpp
llvm/lib/IR/ProfDataUtils.cpp
llvm/tools/opt/opt.cpp
|