aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-06-12 11:40:57 +0100
committerGitHub <noreply@github.com>2024-06-12 11:40:57 +0100
commit297b6dea8c7652b62933e78ef79e60ce59fc1ec0 (patch)
treebcc6a8088e5fa7c883bdf70f0024df0f795abec8 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentccaaa0000f585ac0724452f8a7baee7307dae4eb (diff)
downloadllvm-297b6dea8c7652b62933e78ef79e60ce59fc1ec0.zip
llvm-297b6dea8c7652b62933e78ef79e60ce59fc1ec0.tar.gz
llvm-297b6dea8c7652b62933e78ef79e60ce59fc1ec0.tar.bz2
[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)
The Flang frontend currently prints LLVM IR modules using llvm::Module::print(); this works for default cases, but skips some of the logic that IR printer passes use, specifically the use of the --write-experimental-debuginfo flag to control debug info format. This patch replaces the use of print() with the PrintModulePass, bringing the printing behaviour to parity with clang's frontend.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions